We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SO_ERROR
This SO_ERROR is commonly used to check sockets for errors, for example on non-blocking connect calls.
connect
getsockopt(sockfd, SOL_SOCKET, SO_ERROR, ...);
This is exposed in Rust as TcpStream::take_error, TcpListener::take_error, and UdpSocket::take_error via the currently not implemented std::sys::pal::hermit::net::Socket::take_error.
TcpStream::take_error
TcpListener::take_error
UdpSocket::take_error
std::sys::pal::hermit::net::Socket::take_error
The text was updated successfully, but these errors were encountered:
stlankes
No branches or pull requests
This
SO_ERROR
is commonly used to check sockets for errors, for example on non-blockingconnect
calls.This is exposed in Rust as
TcpStream::take_error
,TcpListener::take_error
, andUdpSocket::take_error
via the currently not implementedstd::sys::pal::hermit::net::Socket::take_error
.The text was updated successfully, but these errors were encountered: