On Thu, Apr 16, 2009 at 02:33:56PM -0400, devin kelly wrote:
> So, just to help me understand, let's say that running as root wasn't a
> problem. Like, if you didn't have to be root to open a raw socket.
>
> Would that mean that the open_usrp2_socket() function would just look like
> this
>
> us
So, just to help me understand, let's say that running as root wasn't a
problem. Like, if you didn't have to be root to open a raw socket.
Would that mean that the open_usrp2_socket() function would just look like
this
usrp2::open_usrp2_socket() {
int fd = socket(PF_PACKET, SOCK_RAW, ht
On Wed, Apr 15, 2009 at 04:20:20PM -0400, devin kelly wrote:
> I've been looking over the GNU Radio code and I can't seem to figure what is
> being done in /usrp2/host/lib/open_usrp2_socket.cc file. Specifically,
> lines 97 through to 128.
>
> What I think is happening is that a pair of connected
I've been looking over the GNU Radio code and I can't seem to figure what is
being done in /usrp2/host/lib/open_usrp2_socket.cc file. Specifically,
lines 97 through to 128.
What I think is happening is that a pair of connected sockets is created
(97) then a process is forked (102). So, the child