GetConnection() private method

private GetConnection ( string host, int port ) : void
host string
port int
return void
Example #1
0
 private void GetConnection()
 {
     if (!_transport.IsConnected)
     {
         _transport.GetConnection(_host, _port);
     }
 }
Example #2
0
 void GetConnection()
 {
     if (!transport.IsConnected)
     {
         transport.GetConnection(ServicePoint);
     }
 }