Assorted bugfixes to DTSC and Socket libraries.
This commit is contained in:
parent
603376d15a
commit
1baff448f2
3 changed files with 37 additions and 18 deletions
|
@ -97,6 +97,7 @@ namespace Socket {
|
|||
/// This class is for easily setting up listening socket, either TCP or Unix.
|
||||
class Server{
|
||||
private:
|
||||
std::string errors; ///< Stores errors that may have occured.
|
||||
int sock; ///< Internally saved socket number.
|
||||
bool IPv6bind(int port, std::string hostname, bool nonblock); ///< Attempt to bind an IPv6 socket
|
||||
bool IPv4bind(int port, std::string hostname, bool nonblock); ///< Attempt to bind an IPv4 socket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue