Hi, > May anyone tell me what can be wrong? Is there another way of using > sockets in C++ ? If you really want to get into portable socket programming with C++, then I'd suggest that you use the ACE toolkit. http://www.cs.wustl.edu/~schmidt/ACE.html -Ossama -- Ossama Othman <othman@cs.wustl.edu> Center for Distributed Object Computing, Washington University, St. Louis 58 60 1A E8 7A 66 F4 44 74 9F 3C D4 EF BF 35 88 1024/8A04D15D 1998/08/26