From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ee724e395e6817b6,start X-Google-Attributes: gidfee84,public From: ittrmr@staffs.ac.uk (Richard Rogers) Subject: Problem with sockets (web500gw) Date: 1996/08/05 Message-ID: <4u4uo6$3gn@bs33d.staffs.ac.uk>#1/1 X-Deja-AN: 172243222 distribution: world organization: Staffordshire University reply-to: R.M.Rogers@staffs.ac.uk newsgroups: comp.unix.osf.osf1 Hi all - I'm working on getting the web500gw (WWW front end for X.500) software going on our Alpha/UNIX systems, and have hit a problem I don't understand. The web500gw software communicates with the browser via a socket on a nominated port. The first thing that happens is that web500gw reads from this the request to process, then some details about the browser. After processing the request, the results are sent back down the same socket. All this works fine, EXCEPT that when reading the request and browser details (using fgets()), these details are being echoed back down the port, and being displayed by the browser, which is not what I want at all! Can anyone shed some light on this for me please? Thanks in advance Richard (not a practised network programmer!) P.S. Replies via e-mail preferred please (R.M.Rogers@staffs.ac.uk). -- =========================================================================== Richard M Rogers Information Technology Services E-mail: R.M.Rogers@staffs.ac.uk Staffordshire University Tel: 01785 (+44 1785) 353395