[Spread-users] prob. related to spread
zahir.koradia at gmail.com
Fri Sep 8 01:55:35 EDT 2006
I am not very clear as to what you are looking for, but one thing that
did understand from your mail was that you dont want to block on
receive. There is function "SP_poll" which will allow you to poll your
mailbox if there are any mails in it. This is a non blocking call. So
once your "poll" says that you have something in you mailbox you can
go ahead and receive it. That way your receive will not block since
you know there is something waiting for you in the mailbox. I am not a
frequent user of spread and so am not aware if the send also blocks.
Logically speaking a send should not block.
Hope this helps
On 9/8/06, Pankaj Bhardwaj <pankajb83 at yahoo.co.in> wrote:
> Hi Sir/Madam,
> > I am having some prob. working with spread.
> > I am using the spread server for communication.I have to develop
> > client code which can send and receive data anytime.
> > My probs.
> > 1) I will be able to receive data and send that data
> > 2) I will be able to create data and send that data.
> > but these two things will be able to work simultaneously.
> > like receive is a blocking call , if at that time i want to send data
> > by creating myself i am able to do that.
> > The prob i faced is that my program blocks in receive call. or in
> > send.call
> > until i do not send any data i am not able to receive any data.
> > plz help us
> Here's a new way to find what you're looking for - Yahoo! Answers
> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
> it NOW
> Spread-users mailing list
> Spread-users at lists.spread.org
More information about the Spread-users