Re: CGI written in C
From: Robert Harris (robert.f.harris_at_blueyonder.co.uk)
Date: 08/08/05
- Next message: Maxim Yegorushkin: "Re: CGI written in C"
- Previous message: Ulrich Hobelmann: "Re: wait() in thread does not get signal"
- In reply to: Roman Mashak: "Re: CGI written in C"
- Next in thread: Maxim Yegorushkin: "Re: CGI written in C"
- Reply: Maxim Yegorushkin: "Re: CGI written in C"
- Reply: Roman Mashak: "Re: CGI written in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 08 Aug 2005 10:03:16 GMT
Roman Mashak wrote:
> Hello, Pascal!
> You wrote on Mon, 08 Aug 2005 09:58:22 +0200:
>
> ??>> text/html\n\n"); ... ============== Testing with 'tcpdump' I found
> ??>> that web-server is sending "some stirng" and "some string2" in
> ??>> http-response. Why is it happening?
>
> PB> Because CGI are connected to the HTTP server thru stdin and stdout.
>
> PB> Where did you want to send "some string" to?
> I know that, I meant why does web-server send "some string" and "some
> string2" only, but not "some string3" (coming later) ?
>
> With best regards, Roman Mashak. E-mail: mrv@tusur.ru
Remember that printf is buffered; you need to call fflush(stdout) to
make sure that the output buffer gets written to the socket.
Perhaps you need to send more code details.
Robert
- Next message: Maxim Yegorushkin: "Re: CGI written in C"
- Previous message: Ulrich Hobelmann: "Re: wait() in thread does not get signal"
- In reply to: Roman Mashak: "Re: CGI written in C"
- Next in thread: Maxim Yegorushkin: "Re: CGI written in C"
- Reply: Maxim Yegorushkin: "Re: CGI written in C"
- Reply: Roman Mashak: "Re: CGI written in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|