From: Randy M. <rwm...@gm...> - 2007-12-14 05:28:06
|
On Dec 13, 2007 9:25 PM, Ming Sun (xiansun) <xi...@ci...> wrote: > > I tried to create multiple RDM sockets and use different nameseq addresses > to receive message from different sources with select. > But it is seems not reliable receive message from all sources once the > sender goes down and back up. What exactly do you mean by "sender goes downa and back up"? How do you know that messages appear to be dropped? > Is multiple receiving socket in one thread supported? Yes. If you have a server which binds addresses A, B, C to three separate sockets then you will be able to call select() and receive messages. There is the usual limitation that if you are doing connectionless messaging, you have to do flow-control in your application code to avoid message drops if the server should fall too far behind. If this doesn't help maybe you could post your test code. -- // Randy |