Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlnet: EAFNOSUPPORT on Max OSX
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Re: ocamlnet: EAFNOSUPPORT on Max OSX
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 = <abstr>
val y : Unix.file_descr = <abstr>

# 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/