OS 9 OT Sync RawIP/UDP?
OS 9 OT Sync RawIP/UDP?
- Subject: OS 9 OT Sync RawIP/UDP?
- From: "Andrew Wright" <email@hidden>
- Date: Wed, 27 Nov 2002 00:12:54 +1100 (EST)
Hi all,
I'm trying to do some pings and traceroutes on OS 9. Standard
boilerplate code (read: Apple sample code :-) like below. Any of the
four commented lines cause a crash with an illegal instruction (ie,
any of them when uncommented cause the crash). The
OpenEndpoint call returns no error.
I'm running on 9.2.1 from within a thread. The same error occurs
when using kUDPName in CreateConfig(). Any restrictions on
doing a sync/blocking calls for UDP/RawIP? I had a squiz through
IMN:OT and couldn't see anything obvious...
Thanks very much for any thoughts.
--
Regards,
Andrew Wright
*ep = OTOpenEndpoint(OTCreateConfiguration(kRawIPName), 0,
nil, &err);
if (err == noErr) {
// err = OTSetSynchronous(ep);
// err = OTSetBlocking(ep);
// err = OTUseSyncIdleEvents(ep, true);
// err = OTInstallNotifier(ep, PingNotifier, nil);
}
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.