Added protocol type constants.

This commit is contained in:
Hans Leidekker 2004-03-02 20:53:31 +00:00 committed by Alexandre Julliard
parent 08f25f9982
commit f7ed056a43
1 changed files with 15 additions and 0 deletions

View File

@ -76,6 +76,21 @@ extern "C" {
#define WS_SO_CONDITIONAL_ACCEPT 0x3002
#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 */