CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Non-Blocking Server for Chat

 



AmyHunter
Deleted

Mar 26, 2001, 1:37 PM

Post #1 of 3 (355 views)
Non-Blocking Server for Chat Can't Post

I'm not sure if this belongs in intermediate or advanced, but I'm barely (if) intermediate in my skill level, so here goes...

For a class project, I'm trying to set up a chat with a graphical interface created with Delphi 5 and a perl server. All the server has to do is accept connections, check incoming msgs to see if they are supposed to be private, and spit the message out to the appropriate recipients. The problem is, I have no idea how to do this. I've only written a couple socket-related scripts in the past, and they were all blocking servers. I don't expect anyone to write a program for me, but I'd really appreciate it if someone could point me in the right direction to some decent examples or a book that could help me out.

Thank You VERY Much In Advance,
Amy



ChaoticPaladin
stranger

Aug 14, 2001, 10:51 PM

Post #2 of 3 (343 views)
Re: Non-Blocking Server for Chat [In reply to] Can't Post

Try the advanced perl programming book by O'reilly, matter of fact, I think they have just such a program as you are describing Amy. If Im not mistaken, it has what I believe is a black panther on the cover. I can check when I get home for you, but Im pretty sure that this book contains perl code for a network chat server :-)

Cp



ChaoticPaladin
stranger

Aug 14, 2001, 10:56 PM

Post #3 of 3 (342 views)
Re: Non-Blocking Server for Chat [In reply to] Can't Post

Hello again Amy,
just for some kicks I checked out my programming perl book here at work, and Im thinking this would do the trick here, its a client and server package, and not much to it either. It is in the o'reilly programming perl book. Page 349 to 354 I do believe. But the really nice chat server progs are in the advanced programming book. Hope that gets you what you need.


Cp


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives