connect method
Connect
will be used to connect to the server. It returns a ShiSockListener
object. It should be the first function to be called while creating the client.
Implementation
ShiSockListener connect(String address, int port) {
ShiSockListener sock = ShiSockListener(address, port);
return sock;
}