[Stk] UdpSocket
Scholten, Dan
djscholten at mitre.org
Tue Jan 2 05:12:08 PST 2007
I'm using the UdpSocket class from the STK and had a question on the
readBuffer function. I want to call this method from a callback that
runs on a set time interval (say every 30 seconds), but I'm not
guaranteed to have received data since the last readBuffer call was
made. It seems that this method will block until data is received
before continuing. I wish the program to just continue execution
regardless if any data was received or not. Is there a precheck I can
make to see if the socket has received any data or a way to make the
readBuffer call "timeout" if it does not receive data within a certain
time frame?
Thanks,
Dan Scholten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/stk/attachments/20070102/127946e6/attachment.html>
More information about the Stk
mailing list