Sockets/Sockets.cpp
size_t Socket::bytesWaiting()
{
  unsigned long int ret;
  ::ioctlsocket(socket_, FIONREAD, &ret);
  return (size_t)ret;
}
//----< returns bytes available in recv buffer >-----------------------------
< returns bytes available in recv buffer >
< returns bytes available in recv buffer >
size_t Socket::bytesWaiting()
{
  unsigned long int ret;
  ::ioctlsocket(socket_, FIONREAD, &ret);
  return (size_t)ret;
}
size_t Socket :: bytesWaiting ( ) { unsigned long int ret ; :: ioctlsocket ( socket_ , FIONREAD , & ret ) ; return ( size_t ) ret ; }
< returns bytes available in recv buffer >
< returns bytes available in recv buffer >