Method Connect Connect(String, Int32) Connect the socket Declaration void Connect(string ip, int port) Parameters Type Name Description System.String ip The desintation ip address System.Int32 port The port of communiation