Btw. Are you remembering to flush the UDP socket after write? Guy Kuo
On Aug 24, 2012, at 14:55, Jon Daggett <[email protected]> wrote: > Christian (or anyone else with ideas), > > I am using TCP and UDP sockets within a loop. The UDP sockets don't go out > properly unless I put either app.DoEvents (big no no I realize, so I don't > want to do that), or I found that DelayMBS also solves the problem, however > that adds too much delay. > > Christian had suggested using the poll function on the socket, and while that > works great for TCP sockets, it appears to do nothing on UDP sockets (at > least for transmit anyway). > > So, I'm back to the DelayMBS which works wonderfully, however even with the > shortest value it is introducing too much delay. > > Is there another way of doing this? Either something like DelayMBS which has > a much shorter delay, or a better method for getting the UDPsocket to send > out the data when in the loop. I've tried a thread and that still doesn't do > it, and also a timer calling the poll function and no luck with that either. > > > Thanks in advance! > > Jon > > > Jon Daggett > Castle Studios Productions > www.castlestudios.com > > > > > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info > _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
