mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
module net
|
||||
|
||||
const is_windows = true
|
||||
|
||||
// WsaError is all of the socket errors that WSA provides from WSAGetLastError
|
||||
pub enum WsaError {
|
||||
//
|
||||
@@ -739,6 +741,7 @@ pub fn wsa_error(code int) WsaError {
|
||||
|
||||
const (
|
||||
error_ewouldblock = WsaError.wsaewouldblock
|
||||
error_einprogress = WsaError.wsaeinprogress
|
||||
)
|
||||
|
||||
// Link to Winsock library
|
||||
|
Reference in New Issue
Block a user