• 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: Endpoint reuse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Endpoint reuse
      • From: Quinn <email@hidden>
  • Prev by Date: Re: Finding the IP address of a disk
  • Next by Date: Re: Endpoint reuse
  • Previous by thread: Endpoint reuse
  • Next by thread: Re: Endpoint reuse
  • Index(es):
    • Date
    • Thread