Bind inter-thread comminication sockets to INADDR_LOOPBACK instead of

Sat Nov 22 14:16:51.15 2003  Andrew Lanoix  <alanoix@umich.edu>

* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
This commit is contained in:
15 2003 Andrew Lanoix 2003-11-22 19:28:04 +00:00 committed by Andy Lanoix
parent f03ed4142e
commit 94d79f087b
7 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>
* configure.in: Added G_GSIZE_FORMAT and friends.

View File

@ -1,3 +1,8 @@
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>
* configure.in: Added G_GSIZE_FORMAT and friends.

View File

@ -1,3 +1,8 @@
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>
* configure.in: Added G_GSIZE_FORMAT and friends.

View File

@ -1,3 +1,8 @@
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>
* configure.in: Added G_GSIZE_FORMAT and friends.

View File

@ -1,3 +1,8 @@
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>
* configure.in: Added G_GSIZE_FORMAT and friends.

View File

@ -1,3 +1,8 @@
Sat Nov 22 14:16:51.15 2003 Andrew Lanoix <alanoix@umich.edu>
* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>
* configure.in: Added G_GSIZE_FORMAT and friends.

View File

@ -356,7 +356,7 @@ init_reset_sockets (GIOWin32Channel *channel)
local.sin_family = AF_INET;
local.sin_port = 0;
local.sin_addr.s_addr = htonl (INADDR_ANY);
local.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
if (bind (channel->reset_send, (struct sockaddr *)&local, sizeof (local)) == SOCKET_ERROR)
{
@ -366,7 +366,7 @@ init_reset_sockets (GIOWin32Channel *channel)
local2.sin_family = AF_INET;
local2.sin_port = 0;
local2.sin_addr.s_addr = htonl (INADDR_ANY);
local2.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
channel->reset_recv = (gint) socket (AF_INET, SOCK_DGRAM, 0);
if (channel->reset_recv == INVALID_SOCKET)