[−][src]Module nng_async::socket
Socket basics
Instantiating any of the various "protocols" creates a socket.
A socket may be cloned and it will increase the reference count of the underlying nng_socket
.
Depending on the gurantees of the originating protocol, simultaneous use of the socket may not be safe.
When the last reference to the socket is dropped, nng_close()
will be called.
Structs
Flags | Flags used with |
NngSocket | Wraps |
SendError | |
SocketFlags | |
UnsafeSocket | "Unsafe" version of |
Traits
Dial |
|
GetSocket | Type which exposes an |
Listen |
|
RecvSocket |
|
SendSocket |
|
Socket | Type which is an |