Add the ability to bind listening sockets to addresses, and use this for the
/detach IPC socket. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@330 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -2576,7 +2576,7 @@ static int create_ipc_socket(void)
|
||||
|
||||
init_socketpath();
|
||||
|
||||
if ((s = connect_by_number(NULL, &port, SERVICE_SERVER, PROTOCOL_TCP, 0)) < 0)
|
||||
if ((s = connect_by_number("127.0.0.1", &port, SERVICE_SERVER, PROTOCOL_TCP, 0)) < 0)
|
||||
{
|
||||
bitchsay("Error creating IPC socket: [%d] %s", s, strerror(errno));
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user