[ECOS] the opened socket is not closed...
srinivas naga vutukuri
srinivas.vutukuri@gmail.com
Thu Oct 18 03:53:00 GMT 2007
Hi,
Am just using the file ping_test.c
under ecos/packages/net/common/current/tests directory...
found that the opened socket is not closed at the end of
ping_test()/ping6_test () functions.
actually the test file is single time runner... probably i thought
using these functions to continously running several times would be
having any problems, like trying to open many sockets or like that....
if so, can adding close(s) at the end of functions would be on safe side...
just attached the patch for it...
best regards,
srinivas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ping_test.c.patch
Type: application/octet-stream
Size: 677 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20071018/027b1853/attachment.obj>
-------------- next part --------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list