generalize a bit the functions used to create an tcp socket
authorLuigi Rizzo <rizzo@icir.org>
Sat, 25 Nov 2006 17:37:04 +0000 (17:37 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 25 Nov 2006 17:37:04 +0000 (17:37 +0000)
commit2657279cb5e57e50bbed732e84106d43be98b251
tree8defe74cf0a1ef31cdcdb58ec075a247d1f0016e
parente46e42ceecc84823705779147ee0d7235e159433
generalize a bit the functions used to create an tcp socket
and then run a service on it.
The code in manager.c does essentially the same things,
so we will be able to reuse the code in here (probably
moving it to netsock.c or another appropriate library file).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/http.c