in reply to Server/client sync - when can I write to a socket?
It's a big topic, and you can search google and groups.google.com for "perl server client", "perl server IO::Select", "perl multi-echo chat", etc. There are many variations on server client setups. In general, for a client, you want a forking client. When it connects, it immediately forks off, one fork is solely for receiving, and 1 fork for sending. See Simple bi-directional forking commandline client for a basic client that should work with almost any server, like a telnet client.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Server/client sync - when can I write to a socket?
by techcode (Hermit) on Oct 29, 2008 at 21:59 UTC |