Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: Get responses are missing via broadcast ip address
igak_kaplan

From: Tel Aviv, Israel
Posts: 4
Member Since: 02/25/09
posted May 7, 2009 11:48 AM

I encountered a critical problem when sending many Get requests asynchronously (GetResponseAsynch function).
1. Target Ip = 255.255.255.255
2. There is a delay 0.045-0.050 seconds in the agent side. (it works fine without delay)
I see all responses in a sniffer, but not in the callback event of Manager.
I opened a case for that in issue's database.
Please advise.
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted May 7, 2009 12:42 PM

Hi,

  GetResponseAsync is not intended to be used on the broadcast address as the way that it functions will only return the first response received. If you do need to get multiple responses then you will have to use the GetResponses method. If you need this to be asynchronous then you will have to create a worker thread and execute GetResponses on it.

Hope you find this useful.

~Jason
igak_kaplan

From: Tel Aviv, Israel
Posts: 4
Member Since: 02/25/09
posted May 7, 2009 1:43 PM

Hi Jason.
I need to use this in a way I decribed in special feature, where I need only the FIRST response.
I know about GetResponses and I use it in other feature.
As I understand from Dart documentation GetResponseAsynch can be used in broadcast too and it work for me fine, but with delay < 0.05 sec.
From Help:
Manager.GetResponseAsync can be used to send a broadcast message without waiting for responses
(the Manager.ResponseMessageReceived event will be raised as each response is processed).
Please advise.
Igal.
Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX