SocketExtensions MethodsCouchbase .NET SDK 2.1.0 Documentation

The SocketExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAcceptAsync
Begins an asynchronous to accept an incoming connection attempt using await.
Public methodStatic memberConnectAsync
Begins an asynchronous to a connection to a remote host using await.
Public methodStatic memberDisconnectAsync
Begins an asynchronous to disconnect from a remote host using await.
Public methodStatic memberReceiveAsync(SocketAwaitable)
Begins an asynchronous request to receive data from a connected Socket object using await.
Public methodStatic memberReceiveAsync(Socket, SocketAwaitable)
Begins an asynchronous request to receive data from a connected Socket object using await.
Public methodStatic memberSendAsync(SocketAwaitable)
Sends data asynchronously to a connected Socket object using await.
Public methodStatic memberSendAsync(Socket, SocketAwaitable)
Sends data asynchronously to a connected Socket object using await.
Public methodStatic memberSetKeepAlives
Enable TCP keep-alives, the time and interval on a managed Socket.
Top
See Also