INN commit: trunk (3 files)

Russ Allbery Russ_Allbery at isc.org
Sat Jun 11 23:25:20 UTC 2005


    Date: Saturday, June 11, 2005 @ 16:25:18
  Author: eagle
Revision: 7317

On second thought, rather than providing a network_connect_sockaddr, what's
really needed is a socket creation function that does all the setup
(including setting the bind address as needed) and then returns the file
descriptor so that the caller can do their own non-blocking connect.  Change
the implementation to do that instead.

Modified:
  trunk/include/inn/network.h
  trunk/lib/network.c
  trunk/tests/lib/network-t.c

-----------------------+
 include/inn/network.h |   12 +++++++++---
 lib/network.c         |   30 +++++++++++++-----------------
 tests/lib/network-t.c |   17 +++++++++--------
 3 files changed, 31 insertions(+), 28 deletions(-)


More information about the inn-committers mailing list