RE: Do not ping
"Rob van der Ouderaa" <rouderaa-qWit8jRvyhVmR6Xm/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hi ÖìС¸Õ, With that subnet the prefix should be 24. For the rest of your questions I do not know. Could it be a routing problem ? Can you ping all systems in between OK ? Regards, Rob van der Ouderaa -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of ÖìС¸Õ Sent: vrijdag 13 februari 2004 8:40 To: bryan.armstrong-6tN4nzCoH/[email protected] Cc: tini-6tN4nzCoH/[email protected] Subject: [TINI]Do not ping Help me! I am developing DS80C400 in C,now I have happened a strange question,I use the ping function in C lib to test the network,I config the network parameters of the target board: IP : 192 168 0 9 Subnet: 255 255 255 0 Prefix: 16 Gate : 192 168 0 1 when I ping the address 192.168.0.9 and 127.0.0.1,the return value of the ping function is 13,but when I ping the other address,the return value of the ping function are all 0.and when I ping any address, the parameter of the ping: responseare all 0(it is the initialization value by me).please tell me why this happened and how to settle it? thanks. unsigned int ping(struct sockaddr* address, unsigned int address_length, unsigned int time_to_live, unsigned char* response); _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini