mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
10 lines
174 B
V
10 lines
174 B
V
module websocket
|
|
|
|
import net
|
|
|
|
// error_code returns the error code
|
|
fn error_code() int {
|
|
return C.WSAGetLastError()
|
|
}
|
|
|
|
const error_ewouldblock = net.WsaError.wsaewouldblock
|