TCPLocalSocketPipe Constructor (Socket, Socket)sP2P NAT Traversal and peer-to-peer networking API
sP2P NAT Traversal and peer-to-peer networking API
Initialises TCPLocalSocketPipe object

Namespace: sP2PLib
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax

Public Sub New ( _
	clientProxySocket As Socket, _
	ConnectionCarrierSocket As Socket _
)

Parameters

clientProxySocket
Type: System.Net.Sockets Socket
Already connected application socket, note that you will not be able to use direct read/write operations on sockets you pass as this parameter because it will have role of proxy socket
ConnectionCarrierSocket
Type: System.Net.Sockets Socket
Socket already having connection to remote host
See Also