libcli-discussion Mailing List for libcli
Brought to you by:
fred_nerk
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Karthik B. <kar...@gm...> - 2010-02-07 07:45:12
|
Hi, I am looking for equivalent tools that are similar to libcli and provide even more flexibility. Thx in advans, Karthik Balaguru |
From: Andreas B. <ba...@an...> - 2008-06-13 14:14:15
|
Hello, how can I use the libcli interface with the stdin and stdout instead of the socket? I have some problems with the code of mine because the "?" is the only command that worked. terminal = open("/dev/pts/4", O_RDWR); while(1) { cli_loop(cli, terminal); } cli_done(cli); Best Regards |
From: Andreas B. <ba...@an...> - 2008-06-13 13:41:12
|
Hello, how can I use the libcli interface with the stdin and stdout instead of the socket? I have some problems with the code of mine because the "?" is the only command that worked. terminal = open("/dev/pts/4", O_RDWR); while(1) { cli_loop(cli, terminal); } cli_done(cli); Best Regards |
From: srinivas <sri...@gm...> - 2007-10-24 14:59:21
|
CjxodG1sPgo8aGVhZD4KPC9oZWFkPgo8Ym9keT4KPHRhYmxlIGFsaWduPSJjZW50ZXIiIHdpZHRo PSI1NTAiIGhlaWdodD0iMjQ2IgpiYWNrZ3JvdW5kPSJodHRwOi8veWFhcmkuY29tL3ktdmlyYWwv aW1nL2JveC1hbGwuanBnIj48dHI+PHRkPgogIDxkaXYgaWQ9ImNvbnRhaW5lciIKc3R5bGU9InRl eHQtYWxpZ246Y2Vud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XZlIGFueSBjb25jZXJu cyByZWdhcmRpbmcgdGhlIGNvbnRlbnQgb2YgdGhpcyBtZXNzYWdlLCBwbGVhc2UgZW1haWwgYWJ1 c2VAeWFhcmkuY29tLgogIDxiciAvPgogIDxzcGFuIHN0eWxlPSJmb250LXNpemU6OHB0Ij5ZYWFy aSBMTEMsIDM1OCBBbmdpZXIgQXZlLCBBdGxhbnRhLCBHQSAKMzAzMTI8L3NwYW4+CjwvcD4KPC9i b2R5Pgo8L2h0bWw+Cg== |
From: srinivas n. v. <sri...@gm...> - 2007-06-28 11:25:37
|
Hi, Actually am trying to use the libcli with eCos. Am able to integrate it with my eCos (embedded) application. Now i just renamed main() with a telnet_start() function and calling under a eCos thread. I am able to telnet to the embedded system and able to complete authentication, etc. Its executing the commands well. Problem: Once i start giving either 'quit'/'exit' - which is calling the quit command function and returning CLI_QUIT and coming out of cli_loop() function. Its calling close(x). But not sending any FIN on that close, to my telnet client on my PC. when i do netstat, its showing the connection still establish. But when compile under cygwin and run on the PC as process and trying to telnet from telnet client, and close (ie., quit/exit) closing the application also, working fine. Here my question is, once integrate with some embedded OS, will there be any other options to be set on the socket, such as SO_LINGER etc. to properly see the socket close() and send the FIN to the application indicating to close it. Please help me out, how to get rid of this problem. best regards, srinivas. |
From: David P. <dpa...@gm...> - 2004-10-06 05:13:26
|
The test application runs in a single process. If you want to support multiple connections, you will need to fork() after accepting the connection, and run the cli in the child process. On Wed, 6 Oct 2004 10:40:48 +0530, Kanna <ka...@jc...> wrote: > > Hi, > > I have download libcli and I have tested the same in linux > environment. It works fine . > > When I try to access multiple session ( multi user ) . It allows > to access one at a time , rest of request are going into wait mode . > > My question is , Is it supports multiuser environment ?. > > > > Thanks & Regards... > > Kannadhasan > Sr. Software Eng. > Jcast Networks India Pvt. Ltd. > New Delhi > Tel: +91-11-516-78212, 213, 214 > > Fax: +91-11-269-53792 > Website: http://www.jcastnet.com |
From: Kanna <ka...@jc...> - 2004-10-06 05:04:00
|
Hi, I have download libcli and I have tested the same in linux = environment. It works fine . When I try to access multiple session ( multi user ) . It = allows to access one at a time , rest of request are going into wait = mode . My question is , Is it supports multiuser environment ?. =20 Thanks & Regards... Kannadhasan Sr. Software Eng. Jcast Networks India Pvt. Ltd. New Delhi Tel: +91-11-516-78212, 213, 214 Fax: +91-11-269-53792 Website: http://www.jcastnet.com |