Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-03 | Clean up and fix sockets code. | Andrey Nazarov | |
Get rid of ugly #ifdefs and macros. Add thin wrapper layer around socket functions to hide OS-specific details like error handling, etc. Merge IO sleep code into net_common.c. Report WSA errors in human readable way. Don't mess with net_from when handling ICMP errors on Linux. It was possible to send packet to wrong address if sento() call results in ICMP error. Fix NET_Sleepv() referencing wrong IO entry on Win32. |