Next: , Previous: , Up: Sockets.AbstractSocketImpl   [Index]


6.2.5 Sockets.AbstractSocketImpl: accessing

connectTo: ipAddress port: port

Connect the receiver to the given IP address and port. ‘Connecting’ means attaching the remote endpoint of the socket.

localAddress

Answer the address of the local endpoint of the socket (even if IP is not being used, this identifies the machine that is bound to the socket).

localPort

Answer the port of the local endpoint of the socket (even if IP is not being used, this identifies the service or process that is bound to the socket).

remoteAddress

Answer the address of the remote endpoint of the socket (even if IP is not being used, this identifies the machine to which the socket is connected).

remotePort

Answer the port of the remote endpoint of the socket (even if IP is not being used, this identifies the service or process to which the socket is connected).