wxWidgets/samples/sockets
Vadim Zeitlin f919ae3477 Make variable containing port number an ushort in the sockets sample.
A port number is an unsigned short, not long, so don't make it long just
because wxCmdLineParser doesn't provide a convenient way to get the value of
an unsigned short option (it would be nice if it did...).

This fixes the problem with using "%d" format specifier with a long variable
as this resulted in an assert under LP64 systems.

See #14311.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-16 15:10:05 +00:00
..
baseclient.cpp No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
baseserver.cpp Make variable containing port number an ushort in the sockets sample. 2012-05-16 15:10:05 +00:00
client.cpp Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
descrip.mms
makefile.bcc Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
makefile.gcc Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
Makefile.in Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
makefile.unx Remove wxMGL port. 2012-01-15 14:46:41 +00:00
makefile.vc Avoid CRT deprecation warnings for MSVC build using makefiles too. 2012-02-07 21:38:31 +00:00
makefile.wat Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
server.cpp Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
sockets_baseclient.dsp
sockets_baseserver.dsp
sockets_client.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
sockets_server.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
sockets_vc7_baseclient.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
sockets_vc7_baseserver.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
sockets_vc7_client.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
sockets_vc7_server.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
sockets_vc8_baseclient.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc8_baseserver.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc8_client.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc8_server.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc9_baseclient.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc9_baseserver.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc9_client.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets_vc9_server.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
sockets.bkl