Whats all this I hear about not being able to use a socket as a filehandle?
Early versions of Perl for Win32 didn’t allow you to read or write to a socket as if it were a filehandle. The current versions fully support this, and you shouldn’t worry about it too much. If the version that you’re using doesn’t work well, get the latest build from ActiveWare (see question 1.4). Contrary the ActiveWare FAQ (see question 3.7), you don’t have to specify USE_SOCKETS_AS_FILEHANDLES when building Perl for Win32 to get sockets to work like filehandles. It doesn’t _hurt_, but it’s not necessary. 8.5. How do I write a sockets server in Perl for Win32? There’s an example of a socket server, TCP-SERVER, in the eg directory of your perl directory. In general, information on socket programming for UNIX is applicable to Perl for Win32. See especially the perlipc page of the documentation. Note that using Perl for Win32 is *not* a good way to implement a server, since you will only be able to service one client at once. This is because a) Perl, the language, doesn’t support threa