// Wrapper functions
-size_t readsocket( int fd, void *buf, size_t count ) {
+size_t SGSocket::readsocket( int fd, void *buf, size_t count ) {
#if defined(_MSC_VER)
return ::recv( fd, buf, count, 0 );
#else
#endif
}
-size_t writesocket( int fd, const void *buf, size_t count ) {
+size_t SGSocket::writesocket( int fd, const void *buf, size_t count ) {
#if defined(_MSC_VER)
return ::send( fd, buf, count, 0 );
#else
}
#if !defined(_MSC_VER)
-int closesocket( int fd ) {
+int SGSocket::closesocket( int fd ) {
return ::close( fd );
}
#endif