[Freeciv-Dev] Re: RFC Metaserver overhaul
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 7 Nov 2002, Ben Webb wrote:
> On Wed, Nov 06, 2002 at 09:46:49PM +0000, Vasco Alexandre Da Silva Costa
> wrote:
> > On Wed, 6 Nov 2002, Reinier Post wrote:
> > > Why would it need to block?
> > You need to establish a TCP connection. That takes some time.
> > HTTP is based on TCP.
>
> So set the socket non-blocking before calling connect(2), and then
> select(2) it for writing...
Hmm... yes. Looking at the connect manpage that seems to be possible.
I thought non-blocking only worked for recv & sendto.
Thanks,
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: RFC Metaserver overhaul, (continued)
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Raimar Falke, 2002/11/02
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Vasco Alexandre Da Silva Costa, 2002/11/02
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Reinier Post, 2002/11/05
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Peter Dam Mains, 2002/11/05
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Paul Zastoupil, 2002/11/05
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Paul Zastoupil, 2002/11/05
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Reinier Post, 2002/11/06
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Vasco Alexandre Da Silva Costa, 2002/11/06
- [Freeciv-Dev] Re: RFC Metaserver overhaul, Ben Webb, 2002/11/07
- [Freeciv-Dev] Re: RFC Metaserver overhaul,
Vasco Alexandre Da Silva Costa <=
|
|