Correct std.os.connect_async docs
This commit is contained in:
parent
48f5b21e7c
commit
0fc97015e2
|
@ -1712,7 +1712,7 @@ pub fn connect(sockfd: i32, sock_addr: *sockaddr, len: socklen_t) ConnectError!v
|
|||
}
|
||||
}
|
||||
|
||||
/// Same as `connect` except it is for blocking socket file descriptors.
|
||||
/// Same as `connect` except it is for non-blocking socket file descriptors.
|
||||
/// It expects to receive EINPROGRESS`.
|
||||
pub fn connect_async(sockfd: i32, sock_addr: *sockaddr, len: socklen_t) ConnectError!void {
|
||||
while (true) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user