Forum: GNU Radio tcp and udp server

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
85ffd97bae0e78056e1d06312744d7d1?d=identicon&s=25 feldmaus (Guest)
on 2009-05-15 14:40
(Received via mailing list)
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 ?

regards markus
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-05-15 16:50
(Received via mailing list)
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
121f303ed62e30b569097a3d16825a94?d=identicon&s=25 Tom Lutz (Guest)
on 2009-05-15 19:02
(Received via mailing list)
On Fri, May 15, 2009 at 10:49 AM, Eric Blossom <eb@comsec.com> wrote:
>
> Eric
>
>
Might be nice to abstract it into its own block for the people that
just want to slap it together.

Tom
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-05-15 19:55
(Received via mailing list)
On Fri, May 15, 2009 at 01:01:50PM -0400, Tom Lutz wrote:
> > 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
4252201ac30d6dd44d8090ce1070e35f?d=identicon&s=25 Josh Blum (Guest)
on 2009-05-20 03:10
(Received via mailing list)
Attachment: tcp_sink_test.grc (5 KB)
Attachment: tcp_source_test.grc (3 KB)
I implemented a tcp source and sink in grc. I only tested it between two
flow graphs on the localhost, so give it a try.

-Josh
85ffd97bae0e78056e1d06312744d7d1?d=identicon&s=25 Markus Feldmann (Guest)
on 2009-06-01 14:59
(Received via mailing list)
Josh Blum schrieb:
> I implemented a tcp source and sink in grc. I only tested it between two
> flow graphs on the localhost, so give it a try.
>
Thank you.

I do not have the time for testing it. My diploma end's at 18.6.2009.:-)
But thank you. :-)

regards Markus
74041d11ba2d5782a38692cdc55a181a?d=identicon&s=25 Ravi Trivedi (ravimani77)
on 2009-06-02 05:56
(Received via mailing list)
Hello all,

 Has anyone come across following error when building a project in
cygwin
after installing GNU radio?

"Warning: Auto importing has been activated without --enable-auto-import
specified on the command line
          This should work unless it involves constant data structures
referencing symbols from auto-imported DLLs"

The above warning leads to a linker error.

Anybody has insights/suggestions?

Regards
Ravi
Bd52458b56fe22ffafe307aa677c38da?d=identicon&s=25 Lu zhang (lu_zhang)
on 2013-03-01 12:07
Josh Blum wrote in post #817954:
> I implemented a tcp source and sink in grc. I only tested it between two
> flow graphs on the localhost, so give it a try.
>
> -Josh

Hello Josh,
I tryed your example with TCP Source/Sink and they works well.
Actually I would like to hear the Sound from a median player (like VLC
media player).
 I run this Flow Graph(tcp_sink_test.grc):  Signal Source --> Throttle
--> TCP Sink (tcp://127.0.0.1:12345)
 Then I open the VLC media player and give this address to VLC.
I can see "tcp://127.0.0.1:12345 - VLC media player" is showed on the
top of the VLC window and the WX GUI Slider is also showed, so that I
can change the frequence.
 But I cann't hear anything from VLC...

I also try replacing the Audio Sink from the "dial_tone" example and the
"fm_receiver" example with the TCP Sink. Still I cann't hear anything
from VLC.

But when I run this Flow Graph: File Source(with a wav file)-->TCP Sink
This time I can hear the music. So I suppose that my VLC player itself
is not brocken.

Any idea why the still?

Thanks

Lu
This topic is locked and can not be replied to.