Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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


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 (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

        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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035233]
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2018-01-20 21:49 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.