Alessandro Ricci
2007-03-02 22:58:55 UTC
I have been using omniORB for a couple of years now, but never come
across a problem like this. I need to get a particular exception when my
TCP connection between client and server is unexpectedly closed. I have
tried to use setClientCallTimeout to set a global or a punctual timeout
that wake up the client when server doesn't reply in a reasonable time
but it is not what I really need. How OmniORB is noticed that the
connection is lost? Does it wait for socket timeout?
What I have now is that OmniORB is blocked inside call
omni:tcpConnection:Recv( pd_socket, (char*)buf, sz,0) where pd_socket is
a value, buf is a void* different from NULL and sz is another value.
Thank you.
________________________________________________________________________
_______
Alessandro Ricci
***@eidosmedia.com
Office Phone: +39-02-30174.339 Fax: +39-02-30174.330
EidosMedia S.p.A. -Viale Legioni Romane, 43 - 20147 Milano - Italy
http://www.eidosmedia.com/
________________________________________________________________________
_______
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070302/8307671e/attachment.htm
across a problem like this. I need to get a particular exception when my
TCP connection between client and server is unexpectedly closed. I have
tried to use setClientCallTimeout to set a global or a punctual timeout
that wake up the client when server doesn't reply in a reasonable time
but it is not what I really need. How OmniORB is noticed that the
connection is lost? Does it wait for socket timeout?
What I have now is that OmniORB is blocked inside call
omni:tcpConnection:Recv( pd_socket, (char*)buf, sz,0) where pd_socket is
a value, buf is a void* different from NULL and sz is another value.
Thank you.
________________________________________________________________________
_______
Alessandro Ricci
***@eidosmedia.com
Office Phone: +39-02-30174.339 Fax: +39-02-30174.330
EidosMedia S.p.A. -Viale Legioni Romane, 43 - 20147 Milano - Italy
http://www.eidosmedia.com/
________________________________________________________________________
_______
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070302/8307671e/attachment.htm