From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 954F9BC0A for ; Sat, 5 May 2007 14:50:14 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l45CoE2w018908 for ; Sat, 5 May 2007 14:50:14 +0200 Received: by ug-out-1314.google.com with SMTP id k3so707793ugf for ; Sat, 05 May 2007 05:50:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=SyX70MzdphLPE4aXWc4kc6SY3nf5tTIc9BInqogXcIGM/DgdL3QLZgZsAHcNagoLlQU55NQqtJX307zUyoDQBImBJLfB4EwbOs/nI9SUs15qr6XSVr7TRIl+P8G9zldemDDP611c/00ysBS8cmOn1Ux/bCoK0jU4bIqCv9a+8dw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=FiTsA1AlpSJb+F3QErAE0n/ZtbH79D+qfgei8UKpeSqd7xS3Q7k8TO+GIxCcZcxe+b525ohQuMSsNxtL1yeBOJ6pi46PyIhKbc01cZJpeFZtK7E8tLJpulDvb5J9pHnvwKbg+NMhn46lfHjN8U+/f5kl5PrySeJ2VLLWZoEi3os= Received: by 10.66.224.19 with SMTP id w19mr428240ugg.1178369413907; Sat, 05 May 2007 05:50:13 -0700 (PDT) Received: from ?192.168.1.33? ( [83.34.3.221]) by mx.google.com with ESMTP id 54sm7455656ugp.2007.05.05.05.50.12; Sat, 05 May 2007 05:50:12 -0700 (PDT) In-Reply-To: <71B2C4B5-3ECB-450F-B015-3C5EAB90855F@gmail.com> References: <71B2C4B5-3ECB-450F-B015-3C5EAB90855F@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <75F71DDF-CACC-4AD9-A3DA-E0049FC9FB2F@gmail.com> Cc: Gerd Stolpmann Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: ocamlnet: EAFNOSUPPORT on Max OSX Date: Sat, 5 May 2007 13:50:09 +0100 To: OCaml List X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 463C7D86.000 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 463C7D86.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlnet:01 osx:01 osx:01 topfind:01 usr:01 lib:01 ocaml:01 val:01 abstr:01 val:01 abstr:01 getsockname:01 getpeername:01 getsockname:01 getpeername:01 Here's a summary. Any suggestions? Mac OSX 10.4.9 Intel Objective Caml version 3.10+dev26 (2007-04-25) # #use "topfind";; - : unit = () # #require "unix";; /usr/local/lib/ocaml/unix.cma: loaded # let x, y = Unix.socketpair Unix.PF_UNIX Unix.SOCK_STREAM 0;; val x : Unix.file_descr = val y : Unix.file_descr = # Unix.getsockname x;; Exception: Unix.Unix_error (Unix.EAFNOSUPPORT, "", ""). # Unix.getpeername x;; Exception: Unix.Unix_error (Unix.EAFNOSUPPORT, "", ""). # Unix.getsockname y;; Exception: Unix.Unix_error (Unix.EAFNOSUPPORT, "", ""). # Unix.getpeername y;; Exception: Unix.Unix_error (Unix.EAFNOSUPPORT, "", ""). Thanks, Joel -- http://wagerlabs.com/