diff options
author | David <david@xagasoft.com> | 2009-01-21 03:51:50 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2009-01-21 03:51:50 +0000 |
commit | b94a6a42c1024c00fab7b678cccaecfaa7604d56 (patch) | |
tree | e6beea01ee74c35bd7dcc54313ea727e02b87b48 /src/socket.cpp | |
parent | e27a084118b8810b6bd442c560df46ce161a9a87 (diff) | |
download | libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.tar.gz libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.tar.bz2 libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.tar.xz libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.zip |
david - needed to actually import the shutdown function from the winsock dll..
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 8937fd1..a660b30 100644 --- a/src/socket.cpp +++ b/src/socket.cpp | |||
@@ -136,7 +136,7 @@ void Bu::Socket::close() | |||
136 | #define SHUT_RDWR (SD_BOTH) | 136 | #define SHUT_RDWR (SD_BOTH) |
137 | #endif | 137 | #endif |
138 | #endif | 138 | #endif |
139 | shutdown( nSocket, SHUT_RDWR ); | 139 | bu_shutdown( nSocket, SHUT_RDWR ); |
140 | ::close( nSocket ); | 140 | ::close( nSocket ); |
141 | } | 141 | } |
142 | bActive = false; | 142 | bActive = false; |