> The fonctions use to manage sockets under Linux and Windows are different.
Rather than nasty ifdefs, you might want to look at the Free Pascal port of the Synapse Sockets library. It will abstract away your OS differences and pushes support of the network code away from your hands. http://synapse.ararat.cz/ I used Synapse with Windows a few years ago and found it very good. YMMV. HTH M _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal