Next: Sockets.StreamSocket-accessing, Previous: Sockets.StreamSocket class-initialize, Up: Sockets.StreamSocket [Index]
Create a new socket and connect to the given host (passed as a String to be resolved or as a SocketAddress), and to the given port.
Create a new socket and connect to the given host (passed as a String to be resolved or as a SocketAddress), and to the given remotePort. Then bind it to the local address passed in ipAddress, on the localPort port; if the former is nil, any local address will do, and if the latter is 0, any local port will do.