SCTP support.

This commit is contained in:
lotodore
2007-06-04 16:49:19 +00:00
parent 895317a257
commit e6d1b46ba1
13 changed files with 32 additions and 9 deletions
+6
View File
@@ -58,6 +58,12 @@ typedef unsigned char u_char;
#define IS_VALID_SEND(_s) ((_s) != SOCKET_ERROR)
#define IS_VALID_SELECT(_s) ((_s) != SOCKET_ERROR)
#ifdef IPPROTO_SCTP
#define SOCKET_IPPROTO_SCTP IPPROTO_SCTP
#else
#define SOCKET_IPPROTO_SCTP 0
#endif
// All char *s are assumed to be UTF-8.
/**