diff options
Diffstat (limited to '')
-rw-r--r-- | src/win32_compatibility.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/win32_compatibility.cpp b/src/win32_compatibility.cpp index b85e869..c052e0b 100644 --- a/src/win32_compatibility.cpp +++ b/src/win32_compatibility.cpp | |||
@@ -14,6 +14,7 @@ deffunc( inet_ntoa ); | |||
14 | deffunc( inet_addr ); | 14 | deffunc( inet_addr ); |
15 | deffunc( select ); | 15 | deffunc( select ); |
16 | deffunc( socket ); | 16 | deffunc( socket ); |
17 | deffunc( shutdown ); | ||
17 | deffunc( ioctlsocket ); | 18 | deffunc( ioctlsocket ); |
18 | deffunc( htons ); | 19 | deffunc( htons ); |
19 | deffunc( htonl ); | 20 | deffunc( htonl ); |
@@ -49,6 +50,7 @@ Bu::Winsock2::Winsock2() | |||
49 | getfunc( inet_addr ); | 50 | getfunc( inet_addr ); |
50 | getfunc( select ); | 51 | getfunc( select ); |
51 | getfunc( socket ); | 52 | getfunc( socket ); |
53 | getfunc( shutdown ); | ||
52 | getfunc( ioctlsocket ); | 54 | getfunc( ioctlsocket ); |
53 | getfunc( htons ); | 55 | getfunc( htons ); |
54 | getfunc( htonl ); | 56 | getfunc( htonl ); |
@@ -102,6 +104,9 @@ int Bu::Winsock2::select( int a, fd_set *b, fd_set *c, fd_set *d, | |||
102 | SOCKET Bu::Winsock2::socket( int domain, int type, int protocol ) { | 104 | SOCKET Bu::Winsock2::socket( int domain, int type, int protocol ) { |
103 | return (*Bu::Winsock2::_fnptr_socket)( domain, type, protocol ); | 105 | return (*Bu::Winsock2::_fnptr_socket)( domain, type, protocol ); |
104 | } | 106 | } |
107 | int Bu::Winsock2::shutdown( SOCKET s, int how ) { | ||
108 | return (*Bu::Winsock2::_fnptr_shutdown)( s, how ); | ||
109 | } | ||
105 | int Bu::Winsock2::ioctlsocket( SOCKET s, long cmd, u_long *argp ) { | 110 | int Bu::Winsock2::ioctlsocket( SOCKET s, long cmd, u_long *argp ) { |
106 | return (*Bu::Winsock2::_fnptr_ioctlsocket)( s, cmd, argp ); | 111 | return (*Bu::Winsock2::_fnptr_ioctlsocket)( s, cmd, argp ); |
107 | } | 112 | } |