Roman Haefeli wrote: > > >with the newest [tcpserver] i cannot send messages to clients anymore. >i > > >tried both, 'send <socketnumber>' and 'client <number>'. whenever > > >[tcpserver] receives such a message, pd is blocked for about a second > > >and the i get in the console: > > > > > >tcpserver_send_buf: client 1 not writeable > > > > > > > Are you sending a lot of data? That should only happen if you send more >than > > a buffer, whatever that is, only the system knows. It blocks for exactly >one > > second if the buffer is full, I was thinking that should give it enough >time > > to send everything. I guess Pd isn't crashing anymore at least ;) > > You could try changing line 383 of tcpserver.c to change the timeout: > > timeout.tv_sec = 10; /* for ten seconds */ > >probably, i should add, that i am testing the new [tcpserver] code on >ubuntu 8.04, as i don't know how to compile on OS X or win XP. what are >you testing on? >
OK I fixed it now in svn. It works on debian. The select() call was not being done properly. Now I need to test it on Windows again. Martin _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list