Next: , Up: Sockets.SocketAddress   [Index]


6.20.1 Sockets.SocketAddress class: abstract

extractFromSockAddr: aByteArray port: portAdaptor

Private - Answer a new SocketAddress from a ByteArray containing a C sockaddr structure. The portAdaptor’s value is changed to contain the port that the structure refers to.

fromSockAddr: aByteArray port: portAdaptor

Private - Answer a new IPAddress from a ByteArray containing a C sockaddr structure. The portAdaptor’s value is changed to contain the port that the structure refers to. Raise an error if the address family is unknown.