Re: [Rd] Possible changes to connections

From: Stephen B. Weston <weston_at_lindaspaces.com>
Date: Fri, 01 Jun 2007 11:05:01 -0400


Prof Brian Ripley <ripley_at_stats.ox.ac.uk> 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.


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 01 Jun 2007 - 15:22:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Jun 2007 - 23:33:59 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.