in reply to Sending and recieving data

There are very good examples of how to create network servers and clients using IO::Socket::INET in the perlipc documentation.

Replies are listed 'Best First'.
Re: Re: Sending and recieving data
by jepri (Parson) on Feb 24, 2003 at 04:01 UTC
    Not really. There are some brief examples of how to use socket type things in perlipc, but building a relay server is definately beyond the scope of perlipc. It doesn't really go into non-blocking sockets, and the socket server example is pretty brief.

    The best thing to do is grab some code which already does similar stuff, get familiar with it, and then tweak it. I'm sure there are some socket tutorials around, I just don't know of any. Try looking at C ones, since networking in perl and C is almost identical.

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

      But perlipc will at least give him a starting point, by giving enough information to get the code that he already has to work, you can't take completely broken code and add features like non-blocking IO to it.