I've been playing around and wanted to make a chatting program between me and him, but not using the internet, I wanted to create a chatting system through the network. But I'm lost here..

It sounds like you may need to learn a little networking first. You need to install some kind of network stack on your computer. You may choose from TCP/IP, IPX/SPX, SMB (LanMan) or any more esoteric one you can find.

Once you have set up this stack on both computers you can download the corresponding modules from CPAN and begin work.

The internet is stuffed full of networking guides, a netsearch should give you plenty to go on.

From memory, all the NET::... modules are designed to work with TCP/IP, so you may wish to search for a TCP/IP guide. SMB also comes with some (very limited) support for what you want, but I don't think there are many modules around for it. Try writing your own using sockets. Searching on SAMBA will be very helpful for that.

A final note: the internet is just a contraction of internetworking - the art of joining up many small networks.

Good luck with your project, you may wish to search the archives here for programs that do similar to what you want.

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: LAN Chat by jepri
in thread LAN Chat by Chady

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.