• 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: Asynchronous endpoint event handler in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous endpoint event handler in OS X


  • Subject: Re: Asynchronous endpoint event handler in OS X
  • From: Jens Bauer <email@hidden>
  • Date: Tue, 19 Feb 2002 15:21:14 +0100

Hi Michael,

On Tue, 19 Feb, 2002, Michael Paluszek <email@hidden> wrote:

>Does anyone know why an event handler for asynchronous TCP/IP would not be
>passed the endpoint in the last argument:
>
>pascal void EventHandler( void*, OTEventCode event, OTResult result, void*
>cookie )
>
>case T_LISTEN:
>
> ep = (TEndpoint *)cookie; // Works on OS 9.x but not on OS X in my code

You're sure it's T_LISTEN and not T_OPENCOMPLETE ?


>The handler is installed using
>
>OTNotifyUPP theHandler = NewOTNotifyUPP(EventHandler);
>
>err = OTAsyncOpenEndpointInContext( OTCreateConfiguration(kTCPName), 0,
>&info, theHandler, 0, NULL );


Love,
Jens

--
Jens Bauer, Faster Software.
_______________________________________________
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: 
 >Asynchronous endpoint event handler in OS X (From: Michael Paluszek <email@hidden>)

  • Prev by Date: Asynchronous endpoint event handler in OS X
  • Next by Date: Re: oops, MoreNetworkSetup / helpers
  • Previous by thread: Asynchronous endpoint event handler in OS X
  • Next by thread: Re: TCP/IP Loopback
  • Index(es):
    • Date
    • Thread