Previous: Sockets.SocketImpl-abstract, Up: Sockets.SocketImpl


6.21.3 Sockets.SocketImpl: socket operations

connectTo: ipAddress port: port
Try to connect the socket represented by the receiver to the given remote machine.


getPeerName
Retrieve a ByteArray containing a sockaddr_in struct for the remote endpoint of the socket.