Hi, > On Fri, 5/15/09, Eric Blossom <e...@comsec.com> wrote:
> From: Eric Blossom <e...@comsec.com> > Subject: Re: [Discuss-gnuradio] tcp and udp server > To: "Tom Lutz" <tommyl...@gmail.com> > Cc: discuss-gnuradio@gnu.org > 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 <e...@comsec.com> > 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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio