internal static void ConnectTcp(IReactor reactor, IProtocolFactory protocolFactory, IPEndPoint localEP, IPEndPoint remoteEP, int bufferSize = 8192) { IPeerConnector connector = new StreamPeerConnector(); connector.Bind(reactor, protocolFactory, localEP, remoteEP, bufferSize); }
internal static void ConnectTcp(IReactor reactor, IProtocolFactory protocolFactory, IPEndPoint localEP, IPEndPoint remoteEP, int bufferSize = 8192) { IPeerConnector connector = new StreamPeerConnector(); connector.Bind(reactor, protocolFactory, localEP, remoteEP, bufferSize); }