This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

the opened socket is not closed...


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.

Attachment: ping_test.c.patch
Description: Binary data

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]