Library of Assembled Shared Sources
|
TCP/IP socket. More...
#include <socket.h>
Public Member Functions | |
TPort | bindInRange (TPort begin, TPort end) |
Bind to the first available port in range [begin, end). | |
TPort | bindInRange (const std::string &address, TPort begin, TPort end) |
Bind to the first available port in range [begin, end). | |
Socket::TPort lass::io::Socket::bindInRange | ( | TPort | begin, |
TPort | end ) |
Bind to the first available port in range [begin, end).
complexity: O(n)
Definition at line 115 of file socket.cpp.
References bindInRange().
Referenced by bindInRange().
Socket::TPort lass::io::Socket::bindInRange | ( | const std::string & | address, |
TPort | begin, | ||
TPort | end ) |
Bind to the first available port in range [begin, end).
complexity: O(n)
Definition at line 125 of file socket.cpp.