Extension methods for using SocketAwaitable instances for awaitable async IO.
Inheritance Hierarchy
Namespace: Couchbase.IO.UtilsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
The SocketExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
AcceptAsync |
Begins an asynchronous to accept an incoming connection attempt using await.
| |
ConnectAsync |
Begins an asynchronous to a connection to a remote host using await.
| |
DisconnectAsync |
Begins an asynchronous to disconnect from a remote host using await.
| |
ReceiveAsync(SocketAwaitable) |
Begins an asynchronous request to receive data from a connected Socket object using await.
| |
ReceiveAsync(Socket, SocketAwaitable) |
Begins an asynchronous request to receive data from a connected Socket object using await.
| |
SendAsync(SocketAwaitable) |
Sends data asynchronously to a connected Socket object using await.
| |
SendAsync(Socket, SocketAwaitable) |
Sends data asynchronously to a connected Socket object using await.
|
See Also