• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS 9 OT Sync RawIP/UDP?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS 9 OT Sync RawIP/UDP?


  • Subject: Re: OS 9 OT Sync RawIP/UDP?
  • From: Vincent Lubet <email@hidden>
  • Date: Tue, 26 Nov 2002 08:18:10 -0800

It's just a programmimg error, you should replace "ep" by "*ep" in the 4 commented lines.

Vincent

On Tuesday, November 26, 2002, at 05:12 AM, Andrew Wright wrote:

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.

References: 
 >OS 9 OT Sync RawIP/UDP? (From: "Andrew Wright" <email@hidden>)

  • Prev by Date: Re: OS 9 OT Sync RawIP/UDP?
  • Next by Date: TCPIP PortRef?
  • Previous by thread: Re: OS 9 OT Sync RawIP/UDP?
  • Next by thread: Re: OS 9 OT Sync RawIP/UDP?
  • Index(es):
    • Date
    • Thread