|
| Author |
Message |
$username=Username; Newbie

Joined: 07 Oct 2005 Posts: 38
         votes: 1
|
Posted: Sat Jan 21, 2006 4:59 pm Post subject: Chat Client |
|
|
| Is it possible to create a perl command line based chat client? Not a big chat like AIM or MSN, but just a script that would let you send and receive messages with people on your network. I know there is a net send command for the command prompt, but you don't get much control with this. Any other methods would be great. |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Sat Jan 21, 2006 5:19 pm Post subject: |
|
|
You could either make your own with POE, and make a nice lil server and protocol, or you could use google. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
$username=Username; Newbie

Joined: 07 Oct 2005 Posts: 38
         votes: 1
|
Posted: Sat Jan 21, 2006 9:23 pm Post subject: |
|
|
| The only problem is that all the google results are for a web site. I want mine to be run through the command prompt. so it would probably need its own server |
|
| Back to top |
|
 |
Cer Upgraded Agent

Joined: 03 Feb 2004 Posts: 3776 Location: Michigan
  votes: 4
|
Posted: Sat Jan 21, 2006 11:37 pm Post subject: |
|
|
POE Cookbook: http://poe.perl.org/?POE_Cookbook
There's examples there of how to make a chat server, and how to make a TCP client (which is the "chat client" that would connect to the server).
I can only point you in the right direction, if this stuff is way over your head there's not much more I can do. I know that it took me a couple of years with Perl before being able to figure out the mechanics of server/client connections. _________________ Current Site (2008) http://www.cuvou.com/ |
|
| Back to top |
|
 |
|