discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Error on reconnecting to TCP port


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Error on reconnecting to TCP port
Date: Sun, 25 Apr 2010 21:52:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre

Yes, definitely expected because of the way things are implemented:

The server block waits on listen, and passes the file descriptor to the first connection to the gnuradio file descriptor source/sink. After that there is no way for it to accept another connection and replace the file descriptor block.

To do this in a better way, we would probably need a more complicated tcp block, or something at the C++ level.

-Josh


On 04/25/2010 09:32 PM, Berndt Josef Wulf wrote:
G'day,

I've created a simple application in GRC using a TCP source in server mode.
When started, it excepts connections on the allocated port for the first time.
However, after statefully disconnecting from the port, any further attempts to
make a new connection with the server application fail - "connection refused".
Is this the expected behavior? I was assuming that it will accept new
connections after disconnecting from the previous session.

cheerio Berndt



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]