Prof Brian Ripley <[EMAIL PROTECTED]> writes:

 > [I know there is a call to getConnection in package gtools, but
 > the return value is unused!]

Speaking of connections and gtools, I've been wondering if the
gtools setTCPNoDelay function's method of getting the Unix file
descriptor of a socket connection is safe.  It's basically doing
this:

   d <- as.integer(socketConnection("localhost", 80)[1])

Is that depending on an implementation detail that may change?
I think it's useful to allow C extensions to set OS specific
socket options on connection objects.  But perhaps Jeffrey
Horner's proposal addresses this need.

- Steve

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to