TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: prabir senapati
from: Jasen Betts
date: 2004-01-19 06:57:08
subject: [C] An interesting question

Hi prabir.

16-Jan-04 12:25:06, prabir senapati wrote to 
Roy.J..Tellason!1.270.615.0{at}filegat


 ps> From: prabir senapati 

 ps> Hi, there... I need a solution ! Iam ought to develop a CLI for a
 ps> Network device (h/w) in C. Can any one help me out  how this can
 ps> be started & accomplished or  point me to good references


firs up you're going to need to access the hardware over the network in so
that the CLI is available to remote users, telnet is the normal way to do
that.

you could look at the sources for other telnet-compatable network CLI
interfaces like softweare which provides service like POP3, NNTP, SMTP etc.

 ps> Tell me in general about what CLI programming is

command-line-interfacce, like the dos prompt, or SMTP, etc...

step 1:  fgets(buffer,siz,somehandle) ; if input_error quit.
step 2:  make sense of the contents of "buffer".
step 3:  act on the results of step 2
step 4:  if not finished repeat from step 1

 -=> Bye <=-

---
* Origin: Dogs come when you call, cats have answering machines (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.