The Question is:
About a week ago I posted a question for a hint to why our homeware ping
that works on pre 7.2 does not work on later versions. I have since learned
more. Using TCP(IP)TRACE and some debugging I ended up calling getprotoent()
with the following results fo
TCP/IP 4.2 ECO 3
The 2 lists are identical - except for the order, no aliases with the latter
and the icmp protocol no. being different.
Our ping program uses getprotobyname() to get the protcol no. for the socket
call. If I instead in the socket call pass a hardcoded "1" then our ping
works also from the 7.2-1 system. Please explain.
The Answer is :
This appears related to a known bug in the getprotobyname call in
V5.0 and V5.0A. (log number: HPAQA1VJN)
When establishing socket connections for protocol "icmp", specify "1"
for the protocol instead of using getprotobyname or getprotobyname.
Alternatively, please contact the Compaq Customer Support Center
for assistance in acquiring an ECO.