Don't call bind when opening a socket.
authorFlorian Forster <octo@verplant.org>
Thu, 1 Jun 2006 20:17:19 +0000 (22:17 +0200)
committerFlorian Forster <octo@verplant.org>
Thu, 1 Jun 2006 20:17:19 +0000 (22:17 +0200)
commit78164c719fbd60c9c7db7bd11477fde6efe5edba
tree05ed5ffdf027a65766ccff4261a4702908685f00
parent73b98f02b6edf344dce0d88662f28a85112d601b
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.
src/liboping.c