[PD] exact meaning of netsend outlet
Peter Plessas
plessas at mur.at
Sat Aug 14 09:55:56 CEST 2010
Thank you Martin, Miller,
please excuse me, I mixed things up when asking. I wanted to know what
the outlet of netSEND really indicates. Ups, sorry!
So rephrased:
Does it indicate whether Pd was able to open a port through the OS?
Does it indicate whether a (TCP) packet actually arrived at the receiver?
Does it indicate whether the connection is "alive" (whatever that means)?
Miller, you are right, netsend does not report when a connection got
closed, hence my above questions.
best, P
On 08/13/2010 07:25 PM, martin.peach at sympatico.ca wrote:
>
>> wondering what the exact meaning of the outlet of [netreceive] in TCP
>> mode is:
>>
>> Does it indicate whether Pd through the OS was able to open a port
>
> The right outlet indicates that the port is open and the other end is listening.
>
>> or
>> does it indicate if a TCP packet arrived at the destination?
>>
>> And: Am I correct assuming that netsend only outputs a message when it
>> got a (send ...) message into its inlet? So there is no way to indicate
>> whether the receiving machine is online unless I keep sending
>> heartbeat/ping messages?
>>
>
> If the other end drops the connection, then the right outlet will output zero, but it might not happen right away.
> Especially with wireless it's better to have some kind of heartbeat ping-pong going at a higher level than the OS.
>
> Martin
>
More information about the Pd-list
mailing list