This commit was manufactured by cvs2svn to create branch
'SOC2006_SOCKETS'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@39904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
wxDatagramSocket docs added, now on the proper branch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@39906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Unified MacOSX, MSW and Unix gsocket class into a common one. Removed duplicated code. Implemented wxDatagramSocket Connect and Disconnect. Added a lot of manual #warnings as reminders. Build tested on unix so far.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@39966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Removing unneeded tests from socket receive/send, also cleaning printf


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Serious problem. Sockets closed on the remote side aren't signaled as so, and the INPUT event keeps triggering... again... and again... and again... Must be backported to HEAD and 2.6.x


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Mac compilation fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Not used anymore


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Fixed memory corruption by static buffer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
It's better to return in_addr* because we don't know for sure s_addr type, and it might change with ipv4


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
All 3 tests successful on mac, no mem corrution anymore, everything seems ok


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
3,5,and 6 params. version of gethostbyname handled correctly now, TODO gethostbyaddr


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Fixed memleak on hostname resolution


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
No more need for deepCopy for hostents, functions return now only the needed data. which is freed acordingly. removed limitation of 1024 chars on hostnames (tho it's highly unlikely this will affect anyone, it simplifies the code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
No more need for deepCopy for servents, functions return now only the needed data, which is freed acordingly. Yeah I like copy/paste.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Order is correct. Removing warning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Avoid wxDateTime object construction for every single access, avoid also arithmetic. should be muhc less cpu intensive now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
GAddress splitted from GSocket. This will allow merging with wxAddress later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
And now the actual class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Don't solve the hostname when we set an ip address from an unsigned int. Avoid unneeded reverse-solving of the IP, which is not used for anything anyway


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Now, when we set the hostname, let's make sure this is not an IP before resolving. Saves a lot of time and headaches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2006_SOCKETS@40404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775