| Click here to select a new forum. |
| Any MacTCP experts around? |
Posted by: cheesestraws on 2020-09-13 06:26:38 From reading the MacTCP programmer's guide it looks like there's no way to use IP raw sockets; or, in other words, to send raw IP packets without TCP or UDP headers on.
Am I correct in this?
|
Posted by: Dog Cow on 2020-09-14 04:15:07 If it's not in the API, you can't do it. That's my understanding of the documentation. There's even language that hints at it, because it says something like "there are certain ICMP errors that you can't do anything about because there's no low-level IP access."
|
Posted by: cheesestraws on 2020-09-14 04:18:33
If it's not in the API, you can't do it. That's my understanding of the documentation. There's even language that hints at it, because it says something like "there are certain ICMP errors that you can't do anything about because there's no low-level IP access." That's what I thought but just wanted to get a second opinion in the hope I was wrong.
Well, that's irritating 🙂
|
Posted by: Dog Cow on 2020-09-14 09:51:16
That's what I thought but just wanted to get a second opinion in the hope I was wrong. Well now you've got the opinion of someone who has only read the documentation, but has never developed any software with MacTCP. 😛
|
Posted by: NJRoadfan on 2020-09-14 09:54:01 Apple's fix was to release Open Transport :wink: . Raw socket access was a novel thing back then, I don't think Windows had it at the time either (at least until NT based Windows became commonplace).
|
| 1 |