]> git.saurik.com Git - wxWidgets.git/commit - src/mac/carbon/gsockosx.c
* In _GSocket_Get_Mac_Socket(), do not call CFSocketSetSocketFlags to turn
authorDavid Elliott <dfe@tgwbd.org>
Wed, 14 Jan 2004 02:50:18 +0000 (02:50 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 14 Jan 2004 02:50:18 +0000 (02:50 +0000)
commitffb649e4c63dc68b4a418896c8e2e0fa6faa77fb
tree0e11978fb218c1097dc19601be00eb84a4a23b11
parent9d8278ea644f99851bcfa54fa84e7313e51f5610
* In _GSocket_Get_Mac_Socket(), do not call CFSocketSetSocketFlags to turn
  off kCFSocketCloseOnInvalidate.  Furthermore,
  kCFSocketAutomaticallyReenableWriteCallback wasn't part of default flags
  but had been erroneously included here.
* Call CFSocketInvalidate() from _GSocket_Diable_Events instead of from
  _GSocket_GUI_Destroy_Socket.  GSocket calls this from GSocket_close
  and so in combination with the above change and the most recent change
  to gsocket.c the CFSocket should now be invalidated and closed for all
  cases and not just planned shutdown.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/mac/carbon/gsockosx.c
src/mac/gsockosx.c