Subj : src/sbbs3/js_socket.c To : Cvs Commit From : Rswindell Date : Sat May 28 2016 10:16:00 src/sbbs3 js_socket.c 1.179 1.180 Update of /cvsroot/sbbs/src/sbbs3 In directory cvs:/tmp/cvs-serv12929 Modified Files: js_socket.c Log Message: Fix bug introduced in rev 167 (the IPv6 commit): calling Socket.bind() with an undefined hostname parameter would result in a getaddrinfo() failure, e.g. on Windows, WSAHOST_NOT_FOUND 11001 The ircd.js passes the value of server.interface_ip_address to socket.bind() and when run from jsexec, this property is not defined. So you couldn't run the ircd from jsexec or you'd get "!Error 0 binding socket to TCP port xxx". Also now setting the socket last_error value upon getaddrinfo() failure so if there is a failure, the error message won't include the erroneous "Error 0". --- þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net þ wcQWK 7.0 ÷ ILink * Omicron Theta * Southaven MS * winserver.org --- QScan/PCB v1.20a / 01-0462 * Origin: ILink: CFBBS | cfbbs.no-ip.com | 856-933-7096 (454:1/1) .