[Rd] Question on non-blocking socket
Ivan Krylov
kry|ov@r00t @end|ng |rom gm@||@com
Wed Feb 15 14:57:19 CET 2023
В Wed, 15 Feb 2023 01:24:26 +0100
Ben Engbers <Ben.Engbers using Be-Logical.nl> пишет:
> where I can find R documentation on proper use of non-blocking
> sockets and on the proper use of the socketSelect function?
A useful guide to the Berkeley sockets API can be found at
<https://beej.us/guide/bgnet/>. You'll have to translate between the C
idioms and the R idioms, but it's better than having no guide at all.
In particular, R spares you from having to figure out differently-sized
struct sockaddr objects by converting them to string representations of
the addresses (currently limited to IPv4).
--
Best regards,
Ivan
More information about the R-devel
mailing list