[PD-dev] [ pure-data-Bugs-2905413 ] mrpeach/tcpserver: messages to clients are doubled

SourceForge.net noreply at sourceforge.net
Sat Nov 28 22:42:22 CET 2009


Bugs item #2905413, was opened at 2009-11-28 13:15
Message generated for change (Comment added) made by mrpeach
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2905413&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Roman Haefeli (reduzent)
Assigned to: Martin Peach (mrpeach)
Summary: mrpeach/tcpserver: messages to clients are doubled

Initial Comment:
hello martin

I was told, that [tcpserver] was updated to use threading now. so i wanted to test the new version. on my machine, it is not working correctly yet. messages sent from [tcpserver] are doubled for some reason. when sending this message with [tcpserver] (it doesn't matter, whether i use the 'send <socketnumber>' or the 'broadcast' method):

97 98 99 100 101 102 103 104 105

i get this on the client side:

97 98 99 100 101 102 103 104 105 97 98 99 100 101 102 103 104 105

sometimes even this:

97 97 98 99 100 101 102 103 104 105 98 99 100 101 102 103 104 105

this is with [tcpserver] compiled from svn checkout from today on pd-0.42.5 on ubuntu 9.10.



----------------------------------------------------------------------

>Comment By: Martin Peach (mrpeach)
Date: 2009-11-28 16:42

Message:
Oops, I hadn't commented out the original unthreaded call to send, so it
was doing both :(
Should work now, at least it does here. Also I added threaded send for
files.
Thanks for testing!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2905413&group_id=55736




More information about the Pd-dev mailing list