1. Moved the declaration of socket_node from the header into the
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 13 Oct 2009 01:51:34 +0000 (01:51 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 13 Oct 2009 01:51:34 +0000 (01:51 +0000)
commitbfb42186a971182c67bf48c4fb4db27034a55b48
tree119656effb35555dc0cfeb6fe84b203d5c63ea91
parent6533e0c01058f6b18b81dcdadb4d132382e2548f
1. Moved the declaration of socket_node from the header into the
implementation file.  No other source files need to be exposed
to it.

2. Contrived to avoid leaking sockets in case of error exits;
sometimes by changing the sequence of operations, sometimes by
inserting a close().

3. In socket_open_tcp_client() and socket_open_udp_client():
removed the call to bind().  Ordinarily a client socket doesn't
need to know or care what its local address is.

4. In socket_open_udp_client(): eliminated the second and third
parameters, which define the remote address.  That information
wasn't going anywhare anyway.  For a UDP socket, you have no
use for the remote address until you actually try to send or
receive.

5. Added doxygen-style comments to document some of the functions.

M    include/opensrf/socket_bundle.h
M    src/libopensrf/socket_bundle.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1818 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/socket_bundle.h
src/libopensrf/socket_bundle.c