BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IdSNMP - get ifPhysAddress

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
alex@ise-spb.org
Guest





PostPosted: Mon Dec 26, 2005 12:07 pm    Post subject: IdSNMP - get ifPhysAddress Reply with quote



Hello, All!

I can't get Physical adress of interface:

SNMP->Community = "...";
SNMP->Host = "...";
SNMP->Query->Clear();
SNMP->Query->PDUType = PDUGetRequest;
SNMP->Query->MIBAdd("1.3.6.1.2.1.2.2.1.6.1","");
SNMP->SendQuery();

for ( int i = 0; i < SNMP->Reply->ValueCount; i++)
Memo1->Lines->Add(": " + SNMP->Reply->ValueOID[i] + " {" +
SNMP->Reply->ValueType[i] + "} = " +
SNMP->Reply->Value[i]);

and I get nothing! ( 1.3.6.1.2.1.2.2.1.6.1 {4} = )

but if to see tcpdump output between server and client, there are
response:
12:42:02.916990 IP client.3167 > server.161: GetRequest(27)
..1.3.6.1.2.1.2.2.1.6.1[objVal!=NULL]""
12:42:02.918527 IP server.161 > client.3167: GetResponse(33)
..1.3.6.1.2.1.2.2.1.6.1=00_30_4f_09_23_09

p.s. BCB6.0 Indy10

Back to top
Riki Wiki
Guest





PostPosted: Sun Jan 01, 2006 10:28 pm    Post subject: Re: IdSNMP - get ifPhysAddress Reply with quote



Hoi Alex

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.