tim wrote:
Hi,
LanBox + switchpack + pd works !
One thing I still haven't figured out though: When the tcpclient connection dies after a while I can only restore it by sending |disconnect( first and then connecting again. I can do this every 12 messages or so (see patch below), but this can't be the good way, because in the real situation, the messages will have variable timings. Disconnecting and reconnecting before every message seems to get messy and some messages get lost. Why doesn't the 'keep connection alive' section of the lanbox patch take care of this ? I'm under the impression that tcpclient doesn't actively send a 0 on its outlet when the connection dies on its own, but only when you send it a disconnect message. What's the best way make sure there is a connection before sending a message ?
[tcpclient] outputs the connection state on its third outlet. Does this work for you? I would [select 0] on that outlet and use the bang to reconnect. Any idea why the connection dies?
Martin