<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=Arial size=2><SPAN class=038190916-27122006>I'm using&nbsp;<SPAN 
class=742171113-02012007>the </SPAN>UdpSocket class from the STK and had a 
question on the readBuffer function.&nbsp; 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.&nbsp; 
It seems that this method will block until data is received before 
continuing.&nbsp; I wish the program to just continue execution regardless if 
any data was received or not.&nbsp; 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?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=038190916-27122006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=038190916-27122006>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=038190916-27122006>Dan 
Scholten</SPAN></FONT></DIV></DIV></BODY></HTML>