EETimes

Embedded Systems September 2000 Vol13_10

Issue link: http://dc.ee.ubm-us.com/i/71837

Contents of this Issue

Navigation

Page 99 of 229

umNGJ Using inet_ntopO'· i:, _ : · ... -,. ·:-; .. , ~~f5.f;,;·. ·:' new_sock = accept(sock, (struct sockaddr *) &faddr, &faddrlen); if (IN6_)S_ADD~V4MAPPED(&faddr.sin6_addr)) { '* * Print an IPv4 address. struct in_addr ina; *' IN6_V4MAPPED_TO_INADDR(&faddr.sin6_addr, &ina); (void) printf("Connection from %sf:/.d\n", inet_ptop(AF_INET,

Articles in this issue

Archives of this issue

view archives of EETimes - Embedded Systems September 2000 Vol13_10