Skip to contentSkip to conversation

Query about how TCP transmission is handled in Xen 3.0 Guest

DISCUSSION Arjun 1 participant 1 message Apr 5, 2006

lore
Share & tools
lore

Arjun

author
#0 lore raw

Hi,

I have a question regarding TCP transmissions from a Xen guest.

I'm using a simple Java send client, that sends a fixed size message to an external host via Java TCP socket library.
My question is, when my send() function returns, does it mean that :

a) The TCP message has been sent and the acknowlegement received from the receiver side, then the send() function returns.

OR

b) The TCP message has only been put into the network transmit ring (to be handled by Dom0 at a later point of time) and the
send() function returns.

I read the latest Interface manual available from
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/interface/interface.html
.
Section 8.1.2 and its not clear to me what exactly happens here.

What I want to ask is, does my high-level Java function, wait till the Guest TCP layer receives acknowledgements for all packets transmitted (for 1 send) before returning ?

Thanks in advance
Arjun

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel