From: 15 2003 Andrew Lanoix Date: Sat, 22 Nov 2003 19:28:04 +0000 (+0000) Subject: Bind inter-thread comminication sockets to INADDR_LOOPBACK instead of X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=94d79f087ba4470dba5e9c9924f73b01499a0e88;p=dana%2Fcg-glib.git Bind inter-thread comminication sockets to INADDR_LOOPBACK instead of Sat Nov 22 14:16:51.15 2003 Andrew Lanoix * glib/giowin32.c: Bind inter-thread comminication sockets to INADDR_LOOPBACK instead of INADDR_ANY. --- diff --git a/ChangeLog b/ChangeLog index a5bd4219..c57480c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Nov 22 14:16:51.15 2003 Andrew Lanoix + + * glib/giowin32.c: Bind inter-thread comminication + sockets to INADDR_LOOPBACK instead of INADDR_ANY. + Thu Nov 20 15:09:40 2003 Manish Singh * configure.in: Added G_GSIZE_FORMAT and friends. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a5bd4219..c57480c1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sat Nov 22 14:16:51.15 2003 Andrew Lanoix + + * glib/giowin32.c: Bind inter-thread comminication + sockets to INADDR_LOOPBACK instead of INADDR_ANY. + Thu Nov 20 15:09:40 2003 Manish Singh * configure.in: Added G_GSIZE_FORMAT and friends. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index a5bd4219..c57480c1 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Sat Nov 22 14:16:51.15 2003 Andrew Lanoix + + * glib/giowin32.c: Bind inter-thread comminication + sockets to INADDR_LOOPBACK instead of INADDR_ANY. + Thu Nov 20 15:09:40 2003 Manish Singh * configure.in: Added G_GSIZE_FORMAT and friends. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a5bd4219..c57480c1 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sat Nov 22 14:16:51.15 2003 Andrew Lanoix + + * glib/giowin32.c: Bind inter-thread comminication + sockets to INADDR_LOOPBACK instead of INADDR_ANY. + Thu Nov 20 15:09:40 2003 Manish Singh * configure.in: Added G_GSIZE_FORMAT and friends. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a5bd4219..c57480c1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sat Nov 22 14:16:51.15 2003 Andrew Lanoix + + * glib/giowin32.c: Bind inter-thread comminication + sockets to INADDR_LOOPBACK instead of INADDR_ANY. + Thu Nov 20 15:09:40 2003 Manish Singh * configure.in: Added G_GSIZE_FORMAT and friends. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a5bd4219..c57480c1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sat Nov 22 14:16:51.15 2003 Andrew Lanoix + + * glib/giowin32.c: Bind inter-thread comminication + sockets to INADDR_LOOPBACK instead of INADDR_ANY. + Thu Nov 20 15:09:40 2003 Manish Singh * configure.in: Added G_GSIZE_FORMAT and friends. diff --git a/glib/giowin32.c b/glib/giowin32.c index dde72e71..152c2c08 100644 --- a/glib/giowin32.c +++ b/glib/giowin32.c @@ -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)