mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
13 lines
202 B
V
13 lines
202 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 // blocking error code
|
|
)
|