std.socket.TcpSocket.flush

Heywood Floyd soul8o8 at gmail.com
Mon Jul 26 06:53:26 PDT 2010


Rory Mcguire Wrote:

> Hi,
> 
> What is one supposed to use to flush a TcpSocket.
> 
> flush doesn't seem to exist, should I really just use the c function?
> 
> -Rory


Was in a similar situation, found this: 
   http://stackoverflow.com/questions/855544/is-there-a-way-to-flush-a-posix-socket

I thought a socket needed to be flushed because curl and ab "hanged" when GETting from my server. Turns out I was just not sending the correct HTTP-headers...

/HF


More information about the Digitalmars-d-learn mailing list