Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: How to add payload in raw socket

by Rahul Gupta (Sexton)
on May 25, 2013 at 07:04 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: How to add payload in raw socket
by marto (Cardinal) 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

        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.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found