Vadim Zeitlin
4017f5ca49
wxSocket::Initialize() and Shutdown() are for main thread only.
...
Calling Initialize() from another thread could never work before but it wasn't
clear that this was the case so document it in the functions comments and
documentation now and add asserts checking that they are called from the main
thread only.
Also simplify the code as we don't actually need to do any reference-counting
here and a simple boolean flag indicating whether the sockets are initialized
is enough.
Closes #11119 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-21 08:44:35 +00:00
Vadim Zeitlin
3bab636ddf
don't incorrectly say that wxSOCKET_REUSEADDR is for servers only ( closes #10626 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 22:02:30 +00:00
Vadim Zeitlin
5fab0c8d86
add accessors for sockaddr to wxSockAddress ( closes #10511 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 23:38:07 +00:00
Francesco Montorsi
3051a44a73
make distinction between classes which send events (use @beginEventEmissionTable for them) from event classes (use @beginEventTable for them); add event tables for wxWindow, wxFrame, wxTopLevelWindow, wxApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:58:51 +00:00
Francesco Montorsi
488addd58a
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:03:55 +00:00
Francesco Montorsi
382f12e419
many automated ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:42:09 +00:00
Francesco Montorsi
ccf39540bb
even more fixes detected using ifacecheck
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 16:33:08 +00:00
Francesco Montorsi
d56f17d882
automated ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:36:37 +00:00
Vadim Zeitlin
9940bebff4
more doc fixes, to wording and to return types ('&'s have been lost)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 14:49:24 +00:00
Vadim Zeitlin
ee533e88db
try to explain socket flags better (although bad ideas don't become good even when explained correctly...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 14:36:07 +00:00
Vadim Zeitlin
4cb591b9df
document Initialize/Shutdown()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:45:07 +00:00
Vadim Zeitlin
b67397a779
added wxSocket::ShutdownOutput() ( closes #9229 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:27:41 +00:00
Vadim Zeitlin
2d46f281a5
added wxSocketBase::GetTimeout() to match existing SetTimeout()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:11:25 +00:00
Francesco Montorsi
4ccf056633
interface fixes; removed many functions which were deprecated in past and have already been removed from wx; renamed others wrongly named; added some @onlyfor tags to avoid false warnings in ifacecheck logs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:37:43 +00:00
Francesco Montorsi
0a98423eb0
other ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 21:33:25 +00:00
Francesco Montorsi
7323ff1aee
other ifacecheck fixes, resulting in removal of the non-existing functions wxDatagramSocket::ReceiveFrom() and wxCloseEvent::SetForce()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 17:12:27 +00:00
Francesco Montorsi
41e69d79ea
doxygen warnings and formatting fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 16:07:00 +00:00
Francesco Montorsi
8067ee1174
misc fixes of ctor signatures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:46:42 +00:00
Francesco Montorsi
da1ed74c85
automated changes: many (pure) virtual specifiers added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:24:43 +00:00
Francesco Montorsi
e725ba4fc2
other s*h interface revisions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 11:24:00 +00:00
Francesco Montorsi
adaaa68635
HUGE commit of ifacecheck-automated fixes to virtualness/constness/staticness of wxWidgets documented functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 11:21:10 +00:00
Bryan Petty
3d7548cb60
Review of socket.h interface header by Utensil Candel ( #9584 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 18:02:55 +00:00
Vadim Zeitlin
c91574928d
add wxSocket::IsClosed(), use it to implement Eof() in wxSocketStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:28:12 +00:00
Vadim Zeitlin
72ac4e888a
take const address objects in wxSocketClient::Connect() and wxSocketBase::SetLocal()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 02:21:39 +00:00
Bryan Petty
12f5e1e78f
Commit 3 of 3 for Doxygen path fixes, this one finally removes all 600+ unnecessary uses of @wxheader and @headerfile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 18:00:03 +00:00
Bryan Petty
ae3c17b401
Moved all interface headers into a 'wx' subdirectory for proper use of Doxygen path settings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 16:22:58 +00:00