Nope I'm afraid no generalization trick. Basically I needed to open a RAW socket which requires root access, but reading up on socket man page, I see that now I can open a ICMP socket which is a new addition, and doesn't require root and yet do what I want to do.
So just something that works for my particular case. thanks Bhaskar On Sun, Mar 15, 2015 at 4:34 PM, Dirk Eddelbuettel <e...@debian.org> wrote: > > On 15 March 2015 at 16:26, Bhaskar V. Karambelkar wrote: > | I was afraid of that, but glad that you confirmed it. In the mean time > I've > | figured out a way that may not require root :) > > Hah! If there is a generalizable trick worth sharing then please don't > hold > back and tell us. > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org >
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel