std :: async::net
Function std::async_sock_read
long long async_sock_read(int fd, []unsigned char buf)Socket read/write/close that work on every platform (recv/send/ closesocket on Windows; no SIGPIPE).
std :: async::net
long long async_sock_read(int fd, []unsigned char buf)Socket read/write/close that work on every platform (recv/send/ closesocket on Windows; no SIGPIPE).