Re(2): Help! OTSndDisconnect Crashing In Carbon!
Re(2): Help! OTSndDisconnect Crashing In Carbon!
- Subject: Re(2): Help! OTSndDisconnect Crashing In Carbon!
- From: Jens Bauer <email@hidden>
- Date: Tue, 2 Apr 2002 11:11:04 +0200
Hi James,
On Mon, 1 Apr, 2002, Vincent Lubet <email@hidden> wrote:
>
On Monday, April 1, 2002, at 02:43 PM, James Holy wrote:
>
>
> Help!
>
>
>
> I have an Endpoint listening with a qlen of 10. It seems when I use
>
> OTSndDisconnect to abort or deny a connection and I pass a TCall
>
> structure
>
> with the sequence of the passed Endpoint it crashes. If I don't pass a
>
> TCall structure, it just closes the main Endpoint. Everything works
>
> great
>
> In OS 9 though. Anyone have any idea, comments, work arounds?
>
>
Verify that you do not pass a bogus pointer in the call parameter or one
>
of its fields.
I was going to say...
Make sure that you keep the TCall buffer in memory while the
OTSndDisconnect is called.
-Make sure that the TCall buffer is unique, in case you do multiple
asynchronous OTSndDisconnects.
The best way would probably be to have an 'EPInfo' containing a TCall.
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
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.