Initializes a new instance of the TcpConnection class
Namespace:
Bespoke.Common.NetAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public TcpConnection( Socket client, AsyncCallback dataReceivedCallback ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ client As Socket, _ dataReceivedCallback As AsyncCallback _ ) |
Visual C++ |
---|
public: TcpConnection( Socket^ client, AsyncCallback^ dataReceivedCallback ) |
Parameters
- client
- Type: System.Net.Sockets..::.Socket
[Missing <param name="client"/> documentation for "M:Bespoke.Common.Net.TcpConnection.#ctor(System.Net.Sockets.Socket,System.AsyncCallback)"]
- dataReceivedCallback
- Type: System..::.AsyncCallback
[Missing <param name="dataReceivedCallback"/> documentation for "M:Bespoke.Common.Net.TcpConnection.#ctor(System.Net.Sockets.Socket,System.AsyncCallback)"]