Commit f7ed056a authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

Added protocol type constants.

parent 08f25f99
...@@ -76,6 +76,21 @@ extern "C" { ...@@ -76,6 +76,21 @@ extern "C" {
#define WS_SO_CONDITIONAL_ACCEPT 0x3002 #define WS_SO_CONDITIONAL_ACCEPT 0x3002
#endif #endif
/* protocol types */
#ifndef USE_WS_PREFIX
#define SOCK_STREAM 1
#define SOCK_DGRAM 2
#define SOCK_RAW 3
#define SOCK_RDM 4
#define SOCK_SEQPACKET 5
#else /* USE_WS_PREFIX */
#define WS_SOCK_STREAM 1
#define WS_SOCK_DGRAM 2
#define WS_SOCK_RAW 3
#define WS_SOCK_RDM 4
#define WS_SOCK_SEQPACKET 5
#endif /* USE_WS_PREFIX */
/* option flags per socket */ /* option flags per socket */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment