What have you tried sofar?? Please show some code.. I would use IO::Socket::INET
If you check my past posts, I think you'll find I'm not one who routinely asks for do-it-for-me solutions. And I must admit I give similar answers when one does, but in this case since I do know very little about networking in general, let alone in Perl, I would have been glad to see some minimal code as a primer - which is what I explicitly asked for. Of course this won't prevent me from reading further and try something myself, then come back here in case I find any actual difficulty. Something along the lines of what fmerges supplied at Re: Very basic socket question is perfect.

In reply to Re^2: Very basic socket question by blazar
in thread Very basic socket question by blazar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.