wxWidgets/samples/sockets
Vadim Zeitlin 1b4b608091 Do wait for connection in the server socket.
The code returned immediately from wxSocketBase::DoWait() if it wasn't
connected but it only made sense for the client sockets, not server ones which
could be calling this function precisely in order to wait until a connection
is made.

Also added a test for this bug in the sockets/server sample.

Closes #11107.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-21 15:25:09 +00:00
..
baseclient.cpp Put braces around all calls to wxLogFunctions() inside an if statement. 2009-07-20 16:47:54 +00:00
baseserver.cpp Fixing/Testing sockets on OpenVMS 2009-01-12 09:06:36 +00:00
client.cpp Put braces around all calls to wxLogFunctions() inside an if statement. 2009-07-20 16:47:54 +00:00
client.rc
connect.ico
descrip.mms Update OpenVMS compile support 2009-06-17 12:20:04 +00:00
makefile.bcc update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
makefile.gcc update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
Makefile.in don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
makefile.unx update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
makefile.vc update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
makefile.wat update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
mondrian.ico
mondrian.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
server.cpp Do wait for connection in the server socket. 2009-08-21 15:25:09 +00:00
server.rc
sockets_baseclient.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
sockets_baseserver.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
sockets_client.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
sockets_server.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
sockets_vc7_baseclient.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc7_baseserver.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc7_client.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc7_server.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc8_baseclient.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc8_baseserver.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc8_client.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc8_server.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc9_baseclient.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc9_baseserver.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc9_client.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets_vc9_server.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
sockets.bkl more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260) 2007-12-19 16:45:08 +00:00