* [Caml-list] Unix.recvfrom
@ 2002-08-13 21:51 Yurii A. Rashkovskii
2002-08-14 21:46 ` M E Leypold @ labnet
0 siblings, 1 reply; 2+ messages in thread
From: Yurii A. Rashkovskii @ 2002-08-13 21:51 UTC (permalink / raw)
To: caml-list
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. *)
--
Regards,
Yurii
-------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Caml-list] Unix.recvfrom
2002-08-13 21:51 [Caml-list] Unix.recvfrom Yurii A. Rashkovskii
@ 2002-08-14 21:46 ` M E Leypold @ labnet
0 siblings, 0 replies; 2+ messages in thread
From: M E Leypold @ labnet @ 2002-08-14 21:46 UTC (permalink / raw)
To: yrashk; +Cc: caml-list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-14 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-13 21:51 [Caml-list] Unix.recvfrom Yurii A. Rashkovskii
2002-08-14 21:46 ` M E Leypold @ labnet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox