Brew MP 1.0.2
This function returns the remote address of the connected socket.
pointer to the ISockPort interface
an opaque pointer to the address to be filled in (see AEESockAddrStorage)
a pointer to the size of the address. Prior to the call, this size
should be initialized to the size of the space that pAddr points to.
Upon return, this size will reflect the number of bytes written into
- AEE_SUCCESS: pAddr has been successfully filled in with the remote address
AEE_NET_EBADF : socket is not open
AEE_NET_EOPNOTSUPP: The socket is not of type SOCK_STREAM
AEE_NET_EINVAL : not a stream socket
AEE_NET_ENOTCONN : socket is not connected
AEE_NET_ECONNRESET: remote connection has been closed
AEE_NET_EFAULT : invalid address parameter has been specified
Other error codes are also possible.