Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How to add payload in raw socket

by Rahul Gupta (Sexton)
on May 25, 2013 at 07:04 UTC ( #1035233=note: print w/ replies, xml ) Need Help??


in reply to Re: How to add payload in raw socket
in thread How to add payload in raw socket

Hi,

I have one user equipment. and want to send some command on it and get the response on the host machine.

there is only one way to make a connection with UE is Raw socket connection. so i am exploring the things in perl but not getting the right way to do so.

Please suggest me the right way to do so.

Thanks in advance


Comment on Re^2: How to add payload in raw socket
Re^3: How to add payload in raw socket
by marto (Bishop) on May 25, 2013 at 07:14 UTC

    I see you have several previous questions on the same subject (for example Raw socket Connection.). If the method suggested here does not work, you're going to have to be more specific. Give us the details needed to help. What is this device you are trying to communicate with? Which operating system does it run? Which operating system does your computer (which you will use to communicate with this equipment) run? How do I post a question effectively? has more advice.

      I have one device from "Aeroflex". and trying to connect this device from Fedora through raw scoket connection . i am able to to so manually means trough putty. but want to do so through script.

      So, please suggest me

        Can you provide a link to the device, like a manufactures web page? How are you connecting via putty, telnet/ssh?

        If you can connect through PuTTy, you do not need "raw sockets". Putty only speaks "Telnet", "SSH" and a plain TCP connection. All of those are available through Net::Telnet, IO::Socket or Net::SSH2.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035233]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-12-27 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls