Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages
Started by Alexander V. Fatykhov
Tue, 10 Jan 2006 06:44
IdSNMP - get ifPhysAddress
Author: Alexander V. Fatykhov
Date: Tue, 10 Jan 2006 06:44
Date: Tue, 10 Jan 2006 06:44
32 lines
1790 bytes
1790 bytes
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 is 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads