author | Florian Forster <octo@verplant.org> | |
Thu, 1 Jun 2006 20:17:19 +0000 (22:17 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Thu, 1 Jun 2006 20:17:19 +0000 (22:17 +0200) | ||
commit | 78164c719fbd60c9c7db7bd11477fde6efe5edba | |
tree | 05ed5ffdf027a65766ccff4261a4702908685f00 | tree | snapshot |
parent | 73b98f02b6edf344dce0d88662f28a85112d601b | commit | diff |
Don't call bind when opening a socket.
The call to bind, thoug working fine under GNU/Linux, seems not to work under
other operating systems. It didn't work under FreeBSD and Mac OS X with the
`bind' call but without.
I think `bind' may only be neccessary if we want to bind to a specific
interface. It might be a good idea to add the possibility later, so I only
commented the code for now.
The call to bind, thoug working fine under GNU/Linux, seems not to work under
other operating systems. It didn't work under FreeBSD and Mac OS X with the
`bind' call but without.
I think `bind' may only be neccessary if we want to bind to a specific
interface. It might be a good idea to add the possibility later, so I only
commented the code for now.
src/liboping.c | diff | blob | history |