Re: Endpoint reuse
Re: Endpoint reuse
- Subject: Re: Endpoint reuse
- From: Mark Thomas <email@hidden>
- Date: Wed, 05 Mar 2003 12:47:48 +0000
- Organization: Coderus Ltd
>
> Also any ideas what's the method of rejecting a hit, from an OTListen, as
>
> I do not want to OTAccept, there doesn't seem to be a OTReject.
>
>
OTSndDisconnect().
I am not sure if I have done this correctly, as if I do a :-
err = OTSndDisconnect(pHostSession->mListener, &pHostSession->mCall );
err = OTListen(pHostSession->mListener, &pHostSession->mCall );
on the host machine, the mListener is the endpoint which connection port
on the server. Now on the client side I do :-
Err = OTConnect( ... )
its returns noErr, which is strange, as I thought its rejected, and then if
I check the endpoint's state its 5 (data transfer mode), so I guess it
wasn't rejected.
Any Ideas, as I think I might have the OTAccept, and then close the
connection down, as I wanted the OTConnect to fail.
Any Ideas
Mark.
_______________________________________________
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.