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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Unix + UDP networking
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