Hello!
> Is it possible in linux to queue up data on a socket before
> a connection is established ?
No, blocking write() blocks until connection enters established state.
Non-blocking one returns EAGAIN.
> Also, if yes, then will the stack
> take that data and try it to send it with the final ack of the
> 3-way handshake ?
In 2.4 it really occurs, when a write() is pending.
It occurs f.e when you force non-blocking connect(), switch
socket to blocking mode and write() request body. Tricky, but works.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]