I can’t find a way to create a connection with a specific local end point.
Something similar to TcpClient (http://msdn.microsoft.com/en-us/library/3bsb3c8f(v=vs.110).aspx). Is there a way to do so?
Because if there is none, then GetConnection would always return you the same connection between two hosts. Some times you need more than one connection between two hosts.
I don’t think there is a way to create a connection with a specific local end point, it is detected automatically.
If you require multiple connections to the same remote host you should be able to create this by connecting to the remote host on two different end points, should give you two independent connections.