Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^6: Problem with Socket Programming Perl Script

by ashok.g (Beadle)
on Jan 24, 2011 at 11:24 UTC ( #883913=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Problem with Socket Programming Perl Script
in thread Problem with Socket Programming Perl Script

Also, I have
tcp        0      0 192.168.0.34:4500           192.168.0.34:32996          ESTABLISHED 22948/nco_objserv Here, for the port 4500 I have both LISTEN and ESTABLISHED.Can't I retrieve data now?


Comment on Re^6: Problem with Socket Programming Perl Script
Select or Download Code
Re^7: Problem with Socket Programming Perl Script
by Anonymous Monk on Jan 24, 2011 at 11:30 UTC
    Can't I retrieve data now?

    Unlikely, PEBKAC related

Re^7: Problem with Socket Programming Perl Script
by Anonyrnous Monk (Hermit) on Jan 24, 2011 at 11:33 UTC

    This just means that nco_objserv is having open ("ESTABLISHED") connections to other processes (nco_p_syslog and nco_p_mttrapd presumably, judging by your previous netstat output).

    As servers typically allow to have connections to multiple clients at the same time, you can likely still connect to it.

      What is PEBKAC?
      How should I proceed now?
        What is PEBKAC?

        Ask the Anonymous Monk, not me :)   Or search the web.

        How should I proceed now?

        Write a client that connects to nco_objserv and read the data it sends (see perlipc).  How the communication happens in detail (i.e. who reads and writes what and when) depends on the protocol which is supposed to be used. As I'm not familiar with nco_objserv, you'll have to check its docs for this.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2014-07-24 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls