*/
CoreExport int OpenTCPSocket(const char* addr, int socktype = SOCK_STREAM);
+ /** Return the size of the structure for syscall passing */
+ CoreExport int sa_size(irc::sockets::sockaddrs& sa);
+
/** Convert an address-port pair into a binary sockaddr
* @param addr The IP address, IPv4 or IPv6
* @param port The port, 0 for unspecified