NosProtocol v1.0.0 NosProtocol.Conn View Source
This module provides a data structure that represents an NosTale socket
connection to a given server. The connection is represented as an opaque
struct %NosProtocol.Conn{}
. The connection is a data structure and is not
backed by a process, and all the connection handling happens in the
process that creates the struct.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
peer_addr(conn)
View Sourcepeer_addr(t()) :: {:inet.ip_address(), :inet.port_number()}