v/vlib/x/websocket/websocket_windows.c.v

13 lines
202 B
V
Raw Normal View History

module websocket
import net
2020-12-02 04:02:53 +01:00
// error_code returns the error code
fn error_code() int {
return C.WSAGetLastError()
}
const (
2020-12-02 04:02:53 +01:00
error_ewouldblock = net.WsaError.wsaewouldblock // blocking error code
)