I had to fix the code a little bit, because automatic conversions of pointers, like char* -> fd_set*, are forbidden in C++. Fixed with tag (CVS 2007-10-14 10:57) Juanjo -- Facultad de Fisicas, Universidad Complutense, Ciudad Universitaria s/n Madrid 28040 (Spain) http://juanjose.garciaripoll.googlepages.com