From: Arjun Subject: Query about how TCP transmission is handled in Xen 3.0 Guest Date: Wed, 5 Apr 2006 01:49:04 -0400 Message-ID: <896ae46a0604042249n26c9e6ffuf5bfaa2dfafc1b9b@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0756846076==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0756846076== Content-Type: multipart/alternative; boundary="----=_Part_15732_4390099.1144216144024" ------=_Part_15732_4390099.1144216144024 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 Gues= t TCP layer receives acknowledgements for all packets transmitted (for 1 send= ) before returning ? Thanks in advance Arjun ------=_Part_15732_4390099.1144216144024 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I have a question regarding TCP transmissions from a Xen guest.<= br>
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 m= y send() function returns, does it mean that :

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

OR

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

I read the latest Interface manual avai= lable 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 th= e Guest TCP layer receives acknowledgements for all packets transmitted (fo= r 1 send)
before returning ?

Thanks in advance
Arjun


------=_Part_15732_4390099.1144216144024-- --===============0756846076== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0756846076==--