[asterisk-dev] main/netsock2.c and documentation
Olle E. Johansson
oej at edvina.net
Wed Jul 28 08:45:48 CDT 2010
agave:asterisk-trunk olle$ grep "\/\*" main/netsock2.c
/*
/*! \file
/* Hint to get only one entry from getaddrinfo */
if (e != EAI_NONAME) { /* if this was just a host name rather than a ip address, don't print error */
/*
/*
agave:asterisk-trunk olle$ grep "\/\*" main/netsock2.c |wc -l
6
The number of comments in this file is below par. And we need documentation on what the difference is between netsock and netsock2, why we should use it. There is some brief doxygen in netsock2.h, but it could be much more instructive and verbose.
I would really like to be able to understand this code.
/O
ps. main/netsock.c is not much better, so the upgrade is actually an upgrade if you compare the include files...
More information about the asterisk-dev
mailing list