Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Unix.recvfrom
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: M E Leypold @ labnet <leypold@i...>
Subject: [Caml-list] Unix.recvfrom


Yurii A. Rashkovskii writes:
 > Hello,
 > 
 > Can somebody clarify why Unix.recvfrom is so strange? It works, of course, 
 > but is not really functional, as I can understand.
 > 
 > val recvfrom :
 >   file_descr -> string -> int -> int -> msg_flag list -> int * sockaddr
 > (** Receive data from an unconnected socket. *)

I'd say it's just a really shallow wrapper around the original libc
function. 

Regards -- Markus


NAME
       recv, recvfrom, recvmsg - receive a message from a socket

SYNOPSIS
       ...

       int recvfrom(int s, void *buf, int len, unsigned int flags
       struct sockaddr *from, int *fromlen);
       ...


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners