Instance methods
getPeerName
Answers the socket address of the peer socket.
The getPeerName operation retrieves a socket address from the peer socket connected to the receiver.
Note:
The getPeerName operation operates only on connected sockets.
The
getPeerName operation is unsuccesful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EBADF, ENOTSOCK, ENOTCONN, EINPROGRESS. For detailed information on these errors, see
Error values.
getSockName
Answers the current socket address for the receiver (socket).
The getSockName operation retrieves the locally bound socket name (address etc.) of the receiver. Typically used to get the local address when a connect is done without doing a bind first.
The
getSockName operation is unsuccesful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EBADF, ENOTSOCK, ENOBUFS, EINPROGRESS, EINVAL. For detailed information on these errors, see
Error values.
newRecvBuf: aBufferSize
Frees any existing receive buffer and creates a new buffer of a BufferSize size.
unlink: aPathname
Deletes aPathname representing a bound local socket. aPathname should be an absolute pathname to avoid assumptions concerning the location of the directory from which th call is executed.
Last modified date: 01/29/2015