I want to write a program in c++ which will telnet to a daemon on a particular port ,and enter commands.
Please help me , I am struck with this..
2006-07-21
23:53:38
·
4 answers
·
asked by
ridha406
1
in
Computers & Internet
➔ Programming & Design
here is some more details.. java or c++ is fine
there is a daemon which listens at port 8790 @local machine where we have installed the application
The following are the steps--First telnet using command prompt as shown
telnet 127.0.0.1 8790 //This gives a prompt srvrmgr> where we enter commands
srvrmgr>setdbgpara
Select level //it asks for level
1 for fILE
2 for table
3. for other
1 //Suppose we enter 1,it will display mesg Setting Suceeded
Setting Succeded
The thing is that we need to write a java program, which will does some job after enabling the above parameter,
SO we need to enable it using java program & then perform other functions,
Please help us as we are struck with this
2006-07-25
04:59:38 ·
update #1