dear friends thank for replies i have tried with socket programming ,when simply implementing client and server the client is reading the string send by server at port XYZ, but at the same time when i want to use netscape as client side using localhost:portno it says that connection is refused by the server what may be the reason ? regards shubh