i'm on Pd-ext 42.5, Windows xp/7 set-up: 1 tcpsocketserver, 6 or more wireless tcpclient-s (+ 1 router). broadcasting from the server to the clients works.
sending back something from the clients to the server fails for some. the messages are sent correctly (only a few bytes), but the server ignores 1 or more of the clients permanently.
when using tcpserver instead of tcpsocketserver this doesn't happen.
how can i find out why tcpsocketserver is behaving like that?
BTW i encountered this because contrary to what is said in the help patch, tcpsocketserver does not have the same outlets as tcpserver, 4 instead of 5. consequently the [client( message cannot be used to see the status of the clients. i 'solved' this by letting the clients sending back a 'present' message. with the above mentioned outcome.
rolf
Hi Rolf, [tcpsocketserver] is an abstraction. If you open it you can see that [tcpserver] is inside, so you could edit it to add the other outlet. As to why it behaves differently from [tcpserver] I don't know. There are two versions of [tcpserver], one in mrpeach and the other in iemnet. Maybe try a different one?
Martin
On 2012-04-06 13:22, rolf wrote:
i'm on Pd-ext 42.5, Windows xp/7 set-up: 1 tcpsocketserver, 6 or more wireless tcpclient-s (+ 1 router). broadcasting from the server to the clients works.
sending back something from the clients to the server fails for some. the messages are sent correctly (only a few bytes), but the server ignores 1 or more of the clients permanently.
when using tcpserver instead of tcpsocketserver this doesn't happen.
how can i find out why tcpsocketserver is behaving like that?
BTW i encountered this because contrary to what is said in the help patch, tcpsocketserver does not have the same outlets as tcpserver, 4 instead of 5. consequently the [client( message cannot be used to see the status of the clients. i 'solved' this by letting the clients sending back a 'present' message. with the above mentioned outcome.
rolf
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Fri, 2012-04-06 at 19:22 +0200, rolf wrote:
i'm on Pd-ext 42.5, Windows xp/7 set-up: 1 tcpsocketserver, 6 or more wireless tcpclient-s (+ 1 router). broadcasting from the server to the clients works.
sending back something from the clients to the server fails for some.
May I ask what is your reasoningu behind your use of [tcpsocketserver] over [tcpserver]?
the messages are sent correctly (only a few bytes), but the server ignores 1 or more of the clients permanently.
Unlike [tcpserver], which is application protocol agnostic, the point of [tcpsocketserver] is to create valid packets for the specified application protocol. Currently there is only support for FUDI and OSC. However, it's possible to add more 'protocol delimiter' abstractions.
It's not possible to handle packet oriented protocols correctly with plain [tcpserver], since you might receive packets from different clients interleaved. That is why [tcpsocketserver] was written.
when using tcpserver instead of tcpsocketserver this doesn't happen.
how can i find out why tcpsocketserver is behaving like that?
BTW i encountered this because contrary to what is said in the help patch, tcpsocketserver does not have the same outlets as tcpserver, 4 instead of 5.
Thanks for mentioning it. The 5th outlet of [tcpserver] was added after the [tcpsocketserver] abstraction was created, that's why it was missing. I added the 5th outlet to [tcpsocketserver] now.
Roman