* or a negative value upon failure (negative values are invalid file
* descriptors)
*/
- int OpenTCPSocket();
+ int OpenTCPSocket(char* addr, int socktype = SOCK_STREAM);
};
};
*/
InspIRCd* ServerInstance;
std::string desc;
+ int family;
public:
/** Create a new listening socket
*/