*(unsigned long*)address=htonl(*(unsigned int*)address+64000+32000);
printf(〃adr=0x%08x timeout=%d 〃;ntohl(*(unsigned long*)address);tm。tv_sec);
fflush(stdout);
adr。sin_family=AF_I;
adr。sin_port=htons(port);
if((adr。sin_addr。s_addr=i_addr(argv'1'))==…1){
if((hp=gethostbyname(argv'1'))==NULL){
errno=EADDRNOTAVAIL;perror(〃error〃);exit(…1);
}
memcpy(&adr。sin_addr。s_addr;hp…》h_addr;4);
}
sck=RPC_ANYSOCK;
if(!(cl=clnttcp_create(&adr;SNMPXDMID_PROG;SNMPXDMID_VERS;&sck;0;0))){
clnt_pcreateerror(〃error〃);exit(…1);
}
cl…》cl_auth=authunix_create(〃localhost〃;0;0;0;NULL);
i=sizeof(struct sockaddr_in);
if(getsockname(sck;(struct sockaddr*)&adr;&i)==…1){
struct{unsigned int maxlen;unsigned int len;char *buf;}nb;
ioctl(sck;(('S'