The NMS Class Library (.Net Messaging Library)

TcpTransportFactory.Connect Method 

protected Socket Connect(
   string host,
   int port
);

See Also

TcpTransportFactory Class | ActiveMQ.Transport.Tcp Namespace