| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
fd = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
Here is what the code to read from it looks like:
struct sockaddr_in from; socklen_t len; char buf[8192]; int result;
result = recvfrom(fd, buf, 8192, 0, (struct sockaddr *)&from, &len);
Hope this helps,
Thanks. It yields the same net effect, unfortunately.
What is the simplest way to get that exact same information?
That's all I want.
- Chase
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden
| References: | |
| >Re: attached gateways (From: "Jamie Wood" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.