Ryan Norton
7488a05edb
PATCH: [ 1033006 ] Fix: socket s timeout of < 1s doesnt work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 05:48:24 +00:00
Ryan Norton
54d5abee41
OK - Robin's right, it is already a SOCKLEN_T
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 23:57:37 +00:00
Ryan Norton
7d065a0afe
Fix warning on OSX - its on int on mac/msw and a socklen_t on others
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 22:09:34 +00:00
Robin Dunn
f565c05e6b
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 22:01:08 +00:00
Ryan Norton
e6e1f5176e
SOCKLEN_T handling for OSX - it seems to be defined as a size_t, when the parameters to the functions where it is handled is really an int (avoids multiple conversion warnings)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 17:17:43 +00:00
Stefan Neis
ebdab982e9
Get rid of warning about select being undeclared on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 21:03:51 +00:00
David Elliott
948c96efa1
Use bool instead of int. Replace TRUE/FALSE with true/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 05:30:36 +00:00
David Elliott
3e1400ac6a
Removed incorrect struct qualifier from GSocketGUIFunctionsTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 04:48:33 +00:00
Robin Dunn
9a7e4a56b6
At least correct the compile error until we decide what to for real.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 03:04:44 +00:00
David Elliott
85431efa68
Use delete foo; instead of GSocket_destroy(foo);
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 22:28:19 +00:00
David Elliott
d2d9c80325
Accidently left in an extra {} and also had wrong license name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:22:09 +00:00
David Elliott
ba2a81d747
Revert original UNIX C->C++ conversion and instead make it work exactly
...
like the new MSW C++ GSocket.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:18:39 +00:00
David Elliott
b082b52407
Incorporated src/unix/gsocket.c 1.86 to 1.92 changes (except 1.90 to 1.91
...
which was applied by Vadim as 1.9 to 1.10 of src/unix/gsocket.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 02:15:32 +00:00
Vadim Zeitlin
f7aa747716
removed _GSocket::m_oriented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:33:54 +00:00
David Elliott
9d71596027
Incorporated gsocket.c 1.80 to 1.86 changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-24 04:00:17 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
David Elliott
758f1d2e02
Reverting wxAppTraits GSocket patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 18:40:45 +00:00
David Elliott
5c2896013b
* Add my name to authors as the new maintainer.
...
* Include wxWindows header files in the standard manner.
* Use the new wxAppTraits::CreateGSocket() method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 21:39:17 +00:00
David Elliott
1119a830a8
Move GSocketBSDGUIShim from source file to header (we'll need it in a second)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 20:17:29 +00:00
David Elliott
444cb1fdcb
Add virtual methods to GSocketBSD for calling the event loop handler
...
instead of the GUI event functions table. Also added a compatibility class
to gsocket.cpp until we can update all of the GUIs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 19:34:16 +00:00
David Elliott
09e6e5ec02
Initial move from C to C++. The functionality of the code should not have
...
changed at all in this move from C to C++. To top that off there is a
define wxUSE_GSOCKET_CPLUSPLUS in include/wx/gsocket.h which turns off
all the new code in that file and also gsockunx.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 07:46:18 +00:00
David Elliott
97e6ee0454
Copied gsocket.c revision 1.80
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 22:17:58 +00:00