[SunHELP] sendTo failure

Nicholas Dronen sunhelp at sunhelp.org
Mon Feb 19 12:45:45 CST 2001


On Mon, Feb 19, 2001 at 12:11:13PM +0530, munkumar at hss.hns.com wrote:
> 
> Hi,
> 
> I am using unix datagram sockets for communication between two processes. On
> flooding the socket with n-number of messages/data I start getting a failure on
> sendto. As far as I can understand the problem is that the socket queue are
> completely filled up and hence the send fails. The socket entry in some system
> table ( dunno much about this aspect ), marks an entry that the previous socket
> sendto failed. Following this all the sendto fail because of this. What I see as
> a possible solution is to close the socket and open/bind it again.
> My querry is whether my solution as well as my understanding of the problem is
> correct ? any inputs/pointers will be a great help. Does anybody knows any
> other/better solution to this problem ? Please let me know.

I suggest you post your question, including errno values, to
comp.unix.programmer.  

Regards,

Nick Dronen



More information about the SunHELP mailing list