Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: A Simple Socket Server Using 'inetd'

by samizdat (Vicar)
on Aug 21, 2007 at 13:15 UTC ( #634076=note: print w/ replies, xml ) Need Help??


in reply to Re: A Simple Socket Server Using 'inetd'
in thread A Simple Socket Server Using 'inetd'

You can't, directly, of course. With netstat and arp you could figure it out, although the connection is transient.


Don Wilde
"There's more than one level to any answer."


Comment on Re^2: A Simple Socket Server Using 'inetd'
Re^3: A Simple Socket Server Using 'inetd'
by fredo2906 (Acolyte) on Dec 30, 2007 at 03:30 UTC
    Hey guys, Is it possible to get a sample of your SECSII client? I'd like to make a SECSII communication over TCP but seems to be difficult to me... Thanks a lot!
      I was working for Sandia Labs at the time, and under NDA. Sorry!

      It isn't that difficult, actually. It's just a simple binary protocol like any other, though there are some quirky things to it. :D

      Don Wilde
      "There's more than one level to any answer."
        Thank you very much for your answer, even a 31 December... Actually I have a SECSII Client that can comunicate over TCP. So I would like to receive the characters sent by this client and log that into a file. If you have any idea or some sample to receive that and log it, that will help me much.
Re^3: A Simple Socket Server Using 'inetd'
by dellair (Initiate) on Jun 16, 2013 at 14:33 UTC
    I am trying it out on Windows, set up inetd via Cygwin and start it as Windows service. It always prompt "Bad file descriptor". at: my $line = <STDIN> When I connect via "telnet localhost <port>". Would you please shed some lights on it? Thanks,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-12-22 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (132 votes), past polls