<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1><pre><font size=1 face=Arial><span style='font-size:8.0pt;
font-family:Arial'>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 <b><span
style='font-weight:bold'>setClientCallTimeout</span></b> 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?<o:p></o:p></span></font></pre><pre><font
size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>What I have now is that OmniORB is blocked inside call <b><span
style='font-weight:bold'>omni:tcpConnection:Recv( pd_socket, (char*)buf, sz,0) </span></b>where pd_socket is a value, buf is a void* different from NULL and sz is another value. Other two parameters, pd_deadline_secs and pd_deadline_nanosecos are set to 0 by the caller, that is omni:giopStream:inputMessage.<o:p></o:p></span></font></pre><pre><font
size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'><o:p> </o:p></span></font></pre>
<p class=MsoNormal><font size=1 face=Arial><span lang=IT style='font-size:8.0pt;
font-family:Arial'>Thank you.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IT style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><i><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882;font-weight:bold;
font-style:italic'>_______________________________________________________________________________<o:p></o:p></span></font></i></b></p>
<p class=MsoNormal><b><font size=1 color="#99ccff" face=Arial><span lang=IT
style='font-size:2.0pt;font-family:Arial;color:#99CCFF;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><st1:PersonName tabIndex="0"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st="on"><b><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882;font-weight:bold'>Alessandro
Ricci</span></font></b></st1:PersonName><span lang=IT><o:p></o:p></span></p>
<p class=MsoNormal><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882'><a
href="mailto:alessandro.ricci@eidosmedia.com">alessandro.ricci@eidosmedia.com</a>
<o:p></o:p></span></font></p>
<p class=MsoNormal><u><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882'>Office Phone</span></font></u><font
size=1 color="#425882" face=Arial><span lang=IT style='font-size:8.0pt;
font-family:Arial;color:#425882'>: +39-02-30174.339 <u>Fax</u>:
+39-02-30174.330<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:1.0pt;font-family:Arial;color:#425882'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><i><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882;font-weight:bold;
font-style:italic'>EidosMedia S.p.A. –</span></font></i></b><b><font
size=1 color="#425882" face=Arial><span lang=IT style='font-size:8.0pt;
font-family:Arial;color:#425882;font-weight:bold'>Viale Legioni Romane, 43 -
20147 Milano – Italy</span></font></b><font size=1 color="#425882"
face=Arial><span lang=IT style='font-size:8.0pt;font-family:Arial;color:#425882'><o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=1 face=Arial><span lang=IT style='font-size:
8.0pt;font-family:Arial;font-weight:bold'><a href="http://www.eidosmedia.com/">http://www.eidosmedia.com/</a>
<font color=navy><span style='color:navy'><o:p></o:p></span></font></span></font></b></p>
<p class=MsoNormal><b><i><font size=1 color="#425882" face=Arial><span lang=IT
style='font-size:8.0pt;font-family:Arial;color:#425882;font-weight:bold;
font-style:italic'>_______________________________________________________________________________<o:p></o:p></span></font></i></b></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>