aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/net/websocket/websocket_windows.c.v
blob: e9f4fc3d7355d3301da58086d96ff7d0b007e0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
)