David Elliott
a45068485c
* Made GSocket::GetError() exp/imp from net library and provide an inline
...
compatibility function.
* Provide a Null gs_gui_functions implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 04:14:42 +00:00
David Elliott
4b4d23c77e
Prepare headers for C->C++ migration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 03:33:36 +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
Vadim Zeitlin
74c481d117
replaced my recent GSocket_SetReuseAddr() addition with GSocket_SetReusable() from the patch 992473; it also adds and documents wxSOCKET_REUSEADDR flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:06:01 +00:00
Václav Slavík
38bb138f09
fixed wxBase and GUI separation for sockets code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00
Guillermo Rodriguez Garcia
27a97d02eb
Private gsocket files were using 'typedef int bool', removed this
...
and replaced by true ints. Currently this was not causing any problem
but it is better to avoid bool at all in C code as a matter of good
coding practice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:31:39 +00:00
Guillermo Rodriguez Garcia
5c9eff3055
Removed bool params and retvalues in GSocket interface to avoid mismatch
...
between C-compiled bools in gsocket and C++ real bools as passed by wxSocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 21:57:20 +00:00
Guillermo Rodriguez Garcia
2288191b9c
Forgot to commit this one - changes for wxBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 09:03:40 +00:00
Guillermo Rodriguez Garcia
70988afbb1
Added gsockmsw which now contains all GUI-specific code for the MSW version
...
of gsocket - a step towards wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:43:58 +00:00
Guillermo Rodriguez Garcia
d3ea65274f
GSocket:
...
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
sets the address to INADDR_NONE.
wxSocket:
- Added some safety checks to the wxPostEvent stuff.
wxIPV4address:
- Added a wxIPV4address::AnyAddress method.
wxIPCConnection and co.:
- Servers binds to INADDR_ANY, instead of binding to localhost.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:01 +00:00
Vadim Zeitlin
c09f28798b
patches from Ricky Gonzales <gonzales@pyramid3.net> for BC++ Builder
...
compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:57:22 +00:00
Vadim Zeitlin
8d0df10dcf
warning fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:33:36 +00:00
Stefan Csomor
519cb848a8
CW5.2 Pro Adaptions, wxMac starting to move in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:16:09 +00:00
Guillermo Rodriguez Garcia
483249fc1a
bugfixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:53:10 +00:00
Guillermo Rodriguez Garcia
0ce742cf09
Checking for wxUSE_SOCKETS and __GSOCKET_STANDALONE__ should be right, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 02:21:15 +00:00
Guillermo Rodriguez Garcia
c21b68f7dd
Added _GSOCKET_STANDALONE_ symbol
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:02:49 +00:00
Guillermo Rodriguez Garcia
904ec517d3
Header file for MSW GSocket
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:20:51 +00:00