From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 8C8F0BB9C for ; Mon, 5 Dec 2005 03:13:34 +0100 (CET) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jB52DXgp012181 for ; Mon, 5 Dec 2005 03:13:34 +0100 Received: by zproxy.gmail.com with SMTP id o37so878787nzf for ; Sun, 04 Dec 2005 18:13:33 -0800 (PST) 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:content-transfer-encoding:content-disposition; b=LYZj+MU3c/sRPeTwsXGte7YyfwbkVYjtFODL6PIj2EI/y0dmqsOi81T8NqNzQhfBtb303bRqj9xkt7wMqCfRNqyaJiwcZ3hDJT5p9sAZUdO5SgyptpUzkWY/6BBWDiIjgm5tbWwvNKd7oJwkxpPNxj0kjhdMK5MOlnlYSYnnijU= Received: by 10.64.196.9 with SMTP id t9mr2420521qbf; Sun, 04 Dec 2005 18:13:33 -0800 (PST) Received: by 10.65.35.10 with HTTP; Sun, 4 Dec 2005 18:13:33 -0800 (PST) Message-ID: Date: Mon, 5 Dec 2005 15:13:33 +1300 From: Jonathan Roewen To: caml-list@yquem.inria.fr Subject: [Caml-list] Unix + UDP networking MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Miltered: at nez-perce with ID 4393A24D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 recvfrom:01 val:01 recvfrom:01 sockaddr:01 unix:01 functions:01 int:01 int:01 confused:02 descr:02 string:02 bytes:03 file:08 i'm:08 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 Hi, I'm looking at the functions for sending/receiving over a datagram-based socket, and I'm confused about the return value of recvfrom. val recvfrom : file_descr -> string -> int -> int -> msg_flag list -> int * sockaddr What is the int value returned? The bytes actually read? Jonathan