Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LocalAddr *rdtp.Addr // local rdtp address RemoteAddr *rdtp.Addr // remote rdtp address // connection to app layer Application net.Conn // connection to network layer Network network.Network }
Config is the necessary configuration to initialize a socket
type Socket ¶
type Socket struct {
// contains filtered or unexported fields
}
Socket represents a socket abstraction and carries all necessary info and statistics about the socket
func (*Socket) RemoteAddr ¶
RemoteAddr returns the remote network address.
Click to show internal directories.
Click to hide internal directories.