diff options
author | Andrey Nazarov <skuller@skuller.net> | 2012-02-04 22:17:01 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-04-03 01:25:48 +0400 |
commit | 2d10d077d5d7a0e9bdb76bc3e7b343b70da11ad7 (patch) | |
tree | 5e4c8236c1d305502d7317236d55ff3aa475b553 /build | |
parent | 11e971ca37d6612741c95a1b950cfa51e90a36a5 (diff) |
Clean up and fix sockets code.
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.
Diffstat (limited to 'build')
-rw-r--r-- | build/common.mk | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/build/common.mk b/build/common.mk index e11417a..101ea13 100644 --- a/build/common.mk +++ b/build/common.mk @@ -29,7 +29,6 @@ SRCFILES+=cmd.c \ q_msg.c \ q_shared.c \ q_field.c \ - io_sleep.c \ error.c \ fpu.c |