[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] tcp and udp server
From: |
Firas Abbas |
Subject: |
Re: [Discuss-gnuradio] tcp and udp server |
Date: |
Fri, 15 May 2009 23:29:04 -0700 (PDT) |
Hi,
> On Fri, 5/15/09, Eric Blossom <address@hidden> wrote:
> From: Eric Blossom <address@hidden>
> Subject: Re: [Discuss-gnuradio] tcp and udp server
> To: "Tom Lutz" <address@hidden>
> Cc: address@hidden
> Date: Friday, May 15, 2009, 8:54 PM
> On Fri, May 15, 2009 at 01:01:50PM
> -0400, Tom Lutz wrote:
> > On Fri, May 15, 2009 at 10:49 AM, Eric Blossom <address@hidden>
> wrote:
> > > On Fri, May 15, 2009 at 12:39:19PM +0000,
> feldmaus wrote:
> > >> Hi All,
> > >>
> > >> i am read something about "sending data over
> tcp".
> > >> as i can see in grc there is only an udp
> sink.
> > >>
> > >> Is there still a tcp sink ?
> > >
> > > No need. Use python to open the appropriate
> file descriptors, then
> > > use gr.file_descriptor_{sink,source}
> > >
> > > Eric
> > >
> > >
> > Might be nice to abstract it into its own block for
> the people that
> > just want to slap it together.
>
> Trust me, setting up the sockets is so much easier in Python in C++.
>
> Eric
See this nice python networking tutorial :
http://heather.cs.ucdavis.edu/~matloff/Python/PyNet.pdf
BTW, the author of this tutorial has also a great python tutorials which can be
very useful for gnuradio beginners such as:
http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf
http://heather.cs.ucdavis.edu/~matloff/Python/PythonIntro.pdf
Also for general python programming :
http://heather.cs.ucdavis.edu/~matloff/Python/pyMPI.pdf
http://heather.cs.ucdavis.edu/~matloff/Python/PyIterGen.pdf
http://heather.cs.ucdavis.edu/~matloff/Python/PyFileDir.pdf
http://heather.cs.ucdavis.edu/~matloff/Python/PyCurses.pdf
Best Regards,
Firas