mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
f03ed4142e
commit
94d79f087b
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user