WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Query about how TCP transmission is handled in Xen 3.0 Guest

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Query about how TCP transmission is handled in Xen 3.0 Guest
From: Arjun <cse.syslab@xxxxxxxxx>
Date: Wed, 5 Apr 2006 01:49:04 -0400
Delivery-date: Tue, 04 Apr 2006 22:49:24 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=NuKqssUIdgMW4lk3q78imD0JMPMM+6vinJf0zZ/6rnzVP/RU9pmPAcjKainy1I7B7EJS4EbJvhyhFbQaB4hmgwQZFUzcLpvMQQFoxvaqn5VUwPXLcpnwBOIRUu5qpCDCrl9+fT8RhM7nwVSOxWDLev3sLWvik97JI8748OkcwD4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Query about how TCP transmission is handled in Xen 3.0 Guest, Arjun <=