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] |
Am just taken an example from http://libcli.sourceforge.net and integrated into my eCos application.
Am creating a thread, under that am calling TELNET_start() (can see in clitest.c). which is accepting the telnet sessions. and after that its calling the cli_loop(). But when i issue quit, which exits the while loop in the cli_loop() function and tries to close the sockfd. But this is not sending the FIN my embedded system to my PC telnet client. I also set the SO_LINGER socket option.
best regards, srinivas.
Attachment:
clitest.c
Description: Binary data
Attachment:
libcli.c
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] |