Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Socket Listener

by sans-clue (Beadle)
on Mar 31, 2010 at 15:11 UTC ( [id://832072]=perlquestion: print w/replies, xml ) Need Help??

sans-clue has asked for the wisdom of the Perl Monks concerning the following question:

The kind monks here helped me with a perl program that uses Telnet to connect to a data feed (event stream), that allowed me to parse up the stream and make very nice, before I handed it off to a very delicate program that needs data on a silver platter. So now I am told that a similar event stream process must connect to ME on a port of my choosing, which I must parse up the same way and hand off to the delicate program. Is there an off the shelf way to do this ? Can a kind monk jump start me with some code ? Thanks

Replies are listed 'Best First'.
Re: Socket Listener
by marto (Cardinal) on Mar 31, 2010 at 15:30 UTC

    Perlmonks isn't code writing service, perhaps you could do some research on Network Programming (see also the associated network programming Q&A and Networking Code). CPAN has various server frameworks available. Also, you could also take a look at How do I post a question effectively? since you don't tell us much about what this data will be like etc. Other things to consider:

    • telnet isn't very secure. You may want to look at using a secure networking protocol.
    • Does the data have to stream from this other system, can't a file be transfered (securely) into your system for parsing/munging?
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2025-12-16 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (96 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.