Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public TCPTransport(
Socket socket,
ObjectPool<SocketAsyncEventArgs> socketEventArgsPool,
SocketAsyncBufferPool bufferManager,
bool connected = false
)
Public Sub New (
socket As Socket,
socketEventArgsPool As ObjectPool(Of SocketAsyncEventArgs),
bufferManager As SocketAsyncBufferPool,
Optional connected As Boolean = false
)
public:
TCPTransport(
Socket^ socket,
ObjectPool<SocketAsyncEventArgs^>^ socketEventArgsPool,
SocketAsyncBufferPool^ bufferManager,
bool connected = false
)
new :
socket : Socket *
socketEventArgsPool : ObjectPool<SocketAsyncEventArgs> *
bufferManager : SocketAsyncBufferPool *
?connected : bool
(* Defaults:
let _connected = defaultArg connected false
*)
-> TCPTransport
Parameters
- socket
- Type: System.Net.SocketsSocket
- socketEventArgsPool
- Type: Ozeki.CommonObjectPoolSocketAsyncEventArgs
- bufferManager
- Type: Ozeki.NetworkSocketAsyncBufferPool
- connected (Optional)
- Type: SystemBoolean
Akkor használd true értékkel, ha hozzánk kapcsolódtak(amikor figyeltek egy portot és ahhoz kapcsolódtak)
See Also