Neil - source can be found here http://www.zen8247.zen.co.uk/socketwrapper20060211-src.zip
Basically I use an extra helper thread and a pipe where a socket is used. For example, instead of the flow being MPLAYER (namedpipe) SWTHREAD (pipe) FLAC (outputsocket) it does instead MPLAYER (namedpipe) SWTHREAD (pipe) FLAC (pipe) SWTHREAD (outputsocket) (where SWTHREAD is a socketwrapper THREAD) All socket access reading/writing is being done by socketwrapper itself. It is this that I hope will solve some of the problems. It's not really ready for mainstream use yet as there's still a few return values not checked (e.g. out of memory) etc. It could also probably have been done as a more minimal patch but I found it easier to understand the workings by making a partial rewrite. -- iancook ------------------------------------------------------------------------ iancook's Profile: http://forums.slimdevices.com/member.php?userid=1873 View this thread: http://forums.slimdevices.com/showthread.php?t=20762 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
