]> git.saurik.com Git - wxWidgets.git/commit - src/gtk1/gsockgtk.c
The world should not end if a server has no peer. Let's return FALSE instead.
authorRon Lee <ron@debian.org>
Mon, 29 Jul 2002 04:13:25 +0000 (04:13 +0000)
committerRon Lee <ron@debian.org>
Mon, 29 Jul 2002 04:13:25 +0000 (04:13 +0000)
commit007c77ab4decca23af91dbe97a4153a286a22acd
tree5e2930d07b2890d5d53c5deaafca803293ae21d1
parent7af68c666bda771e37812ca37f0c6cc1741fa3ec
The world should not end if a server has no peer.  Let's return FALSE instead.
GAddress_copy should copy truthfully, not mangle the result if things are
going badly.  An earlier incarnation of the above.
Disable events before closing the socket, though just disabling them at all
will do.  This was the cause of the nasty 'crash on fail to bind' behaviour
that people have been seeing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/socket.cpp
src/gtk/gsockgtk.c
src/gtk1/gsockgtk.c
src/msw/gsocket.c
src/unix/gsocket.c