aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2009-01-21 03:51:50 +0000
committerDavid <david@xagasoft.com>2009-01-21 03:51:50 +0000
commitb94a6a42c1024c00fab7b678cccaecfaa7604d56 (patch)
treee6beea01ee74c35bd7dcc54313ea727e02b87b48 /src/socket.cpp
parente27a084118b8810b6bd442c560df46ce161a9a87 (diff)
downloadlibbu++-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.cpp2
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;