<html><div style='background-color:'><DIV class=RTE>Hi All </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>>Hi Sir/Madam,<BR>><BR>> I am having some prob. working with spread.<BR>><BR>> I am using the spread server for communication.I have to develop<BR>> client code which can send and receive data anytime.<BR>><BR>> My probs.<BR>> 1) I will be able to receive data and send that data<BR>> 2) I will be able to create data and send that data.<BR>><BR>> but these two things will be able to work simultaneously.<BR>><BR>> like receive is a blocking call , if at that time i want to send data<BR>> by creating myself i am able to do that.<BR>><BR>> The prob i faced is that my program blocks in receive call. or in<BR>> send.call<BR>> until i do not send any data i am not able to receive any data.<BR>><BR>> plz help us<BR>><BR>><BR></DIV>
<DIV>I am currently using Spread 4 RC2 <A href="http://www.spread.org/news/news-Spread4Beta.html">http://www.spread.org/news/news-Spread4Beta.html</A> and have written client side code in C# on Windows platform. For client side I am using an open source C# library "cspread" found at <A href="http://www.spread.org/SpreadPlatforms.html">http://www.spread.org/SpreadPlatforms.html</A>. This library gives receiveing of data asynchronously ( through C# events ). Actually it is done through sockets asynchronous I/O. I dont know much about C and JAVA API but may be this would solve ur problem.</DIV>
<DIV> </DIV>
<DIV>Conclusion:</DIV>
<DIV>If u r writing client on .NET platform then u can easily solve ur problem otherwise u have to see this library code and can convert in ur desired platform/language if there is an asynchronous I/O support available on sockets.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Danish Ahmed</DIV></div></html>