Crate bitcoin_sock

Source

Structs§

Sock
| RAII helper class that manages a socket. | Mimics std::unique_ptr, but instead | of a pointer it contains a socket and | closes it automatically when it goes | out of scope. |

Constants§

MAX_WAIT_FOR_IO
| Maximum time to wait for I/O readiness. | | It will take up until this time to break | off in case of an interruption. |
SOCK_RECV
| If passed to Wait(), then it will wait | for readiness to read from the socket. |
SOCK_SEND
| If passed to Wait(), then it will wait | for readiness to send to the socket. |

Traits§

Reset
SockConnect
SockGet
SockGetSockOpt
SockInterface
SockIsConnected
SockRecv
SockRecvUntilTerminator
SockRelease
SockSend
SockSendComplete
SockWait

Functions§

io_error_is_permanent
network_error_string

Type Aliases§

SockEvent