SPUG: BSD Sockets and perl

James Moore james at banshee.com
Wed Jan 11 10:58:00 PST 2006


You're describing the normal way to use sockets, so giving pointers to
examples would be tough - 90% of the example code for sockets would work
just fine.

Don't get hung up on the distinction between "clients" and "servers" - those
concepts are higher-level abstractions that don't really mean much at the
socket level.  Once the connection is established you've got two peers
speaking to each other, and designating one side the "server" may help you
think about a problem but there's nothing going on to enforce that thought.

 - James 



More information about the spug-list mailing list