Struct Socket
Base class for the different types of sockets
struct Socket
;
Methods
Name | Description |
---|---|
getLocalAddress
|
Get the local address of the socket. |
getPeerAddress
|
Get the remote address of a connected socket. |
getPeerName
|
get the name of the socket's peer (for connected sockets only) |
getSockOpt
|
Call the getsockopt on the socket
|
recv
|
recv data from a connected socket |
recvFrom
|
recv data from an unconnected socket |
recvmsg
|
Implement the recvmsg system call in a reactor friendly way. |
recvObj
|
recv whole object from a connected socket |
send
|
send data over a connected socket |
sendmsg
|
Implementation of sendmsg. |
sendObj
|
send an entire object over a connected socket |
sendObjTo
|
send an entire object over an unconnected socket |
sendTo
|
send data over an unconnected socket |
setSockOpt
|
Call the setsockopt on the socket
|