diff options
author | Diego Nehab <diego@impa.br> | 2012-08-23 19:31:15 -0300 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2012-08-23 19:31:15 -0300 |
commit | 6368caeb5ab5f628b8021c8ebf4d6df436162aaf (patch) | |
tree | 2a2005f2e27ee81e8ced7e4fc84098728e106af0 /TODO | |
parent | 03ba06f70c9ad5cdc9b49d816490fc28d6dbbdc5 (diff) | |
download | luasocket-6368caeb5ab5f628b8021c8ebf4d6df436162aaf.tar.gz luasocket-6368caeb5ab5f628b8021c8ebf4d6df436162aaf.tar.bz2 luasocket-6368caeb5ab5f628b8021c8ebf4d6df436162aaf.zip |
Fix udp:setpeername("*")
There seems to be a curious difference between MacOS and
Linux and I am not sure if this is documented. When you
break a "connection" on Mac OS, you only eliminate the peer
association, but the local address remains bound. On Linux,
breaking a "connection" eliminates the binding to the local
address. Have you guys ever come accross this?
Another irritating difference is that connect() returns the
error EAFNOSUPPORT on Mac OS. I am going to ignore all
errors when the reason for calling connect() is simply to
break the "connection".
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,5 @@ | |||
1 | - bizarre default values for getnameinfo should throw error instead! | ||
2 | |||
1 | - document the new bind and connect behavior. | 3 | - document the new bind and connect behavior. |
2 | - shouldn't we instead make the code compatible to Lua 5.2 | 4 | - shouldn't we instead make the code compatible to Lua 5.2 |
3 | without any compat stuff, and use a compatibility layer to | 5 | without any compat stuff, and use a compatibility layer to |