This is a discussion on Timeout issue within the SNMP Coders forums, part of the Networking and Network Related category; This is a multipart mime message --===============1220426114== Content-type: multipart/alternative; boundary="Next_1200490870---0-59.160.240.216-19484&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multipart mime message
--===============1220426114== Content-type: multipart/alternative; boundary="Next_1200490870---0-59.160.240.216-19484" This is a multipart mime message --Next_1200490870---0-59.160.240.216-19484 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All=0A=0AI am facing one strange problem.=0A=0AI wants to add one check = for timeout, means If my application wont receive response from other appli= cation I need to resend request/Pdu once again. =0AI seen snmp_timeout API = but that wont help me because this API is expensive for my application as s= nmp_timeout checks to see if any of the sessions have an outstanding reques= t that has timed out. If it finds one (or more), and that pdu has more ret= ries available, a new packet is formed from the pdu and is resent. But it u= tilizes CPU fully & snmp_timeout API works in Blocking mode which I dont wa= nts.=0A =0AWhat I wants to do, If no response received within particular = time-frame send same PDU to other end application. ( I wants to send same P= DU which sent last time or else sent PDU will be considered as new PDU inst= ead resent )=0A=0AIf anyone knows How to do it please help me.=0A=0Athanks = in advance.=0ANagendra=0A --Next_1200490870---0-59.160.240.216-19484 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <P>=0AHi All<BR>=0A<BR>=0AI am facing one strange problem.<BR>=0A<BR>=0AI w= ants to add one check for timeout, means If my application wont receive res= ponse from other application I need to resend request/Pdu once again. <BR>= =0AI seen snmp_timeout API but that wont help me because this API is expens= ive for my application as snmp_timeout checks to see if any of the sessions= have an outstanding request that has timed out. If it finds one (or = more), and that pdu has more retries available, a new packet is formed from= the pdu and is resent. But it utilizes CPU fully & snmp_timeout API wo= rks in Blocking mode which I dont wants.<BR>=0A <BR>=0AWhat I wants = to do, If no response received within particular time-frame send same PDU t= o other end application. ( I wants to send same PDU which sent last time or= else sent PDU will be considered as new PDU instead resent )<BR>=0A<BR>=0A= If anyone knows How to do it please help me.<BR>=0A<BR>=0Athanks in advance= ..<BR>=0ANagendra<BR>=0A=0A</P>=0A<br><br>=0A<Table border=3D0 Width=3D644 H= eight=3D57 cellspacing=3D0 cellpadding=3D0 style=3D'font-family:Verdana;fon= t-size:11px;line-height:15px;'><TR><td><a href=3D'http://adworks.rediff.com= /cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Mid= dle5/2031830_2024620/2031710/1?PARTNER=3D3&OAS_QUERY=3Dnull' target=3Dnew >= <img src =3D'http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/203183= 0_2024620/creative_2031710.gif' alt=3D'Jeevan Sathi' border=3D0></a></td>= </TR></Table> --Next_1200490870---0-59.160.240.216-19484-- --===============1220426114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1220426114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============1220426114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1220426114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============1220426114==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|