• 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: OTBind and bind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTBind and bind


  • Subject: Re: OTBind and bind
  • From: Mark Thomas <email@hidden>
  • Date: Wed, 20 Oct 2004 16:58:44 +0100
  • Organization: Coderus Ltd

This isn't quite what I need as I need to get the portname before the socket
is actually connect up or used in UDP transfer. I.e. In the similar way
OTBind 2nd parameter does before you do a OTConnect or a OTSndUData

As this does return the portname presently assigned, which works fine if
already been used, but I need to get before. How does OT do this ???.

Thanks
Mark.

>
> On Oct 20, 2004, at 4:47 AM, Mark Thomas wrote:
>
>>   Migrating the code over to BSD sockets, is there a way to get what
>> socket
>> number a particular BSD socket is using or will use ???. As with
>> OTBind you
>> can find this out, any ideas how it does this ???.
>
> Use the getsockname system call to retrieve the address bound to the
> socket.
>
> Vincent
>
>
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: OTBind and bind
      • From: Vincent Lubet <email@hidden>
References: 
 >Re: OTBind and bind (From: Vincent Lubet <email@hidden>)

  • Prev by Date: Re: OTBind and bind
  • Next by Date: Re: OTBind and bind
  • Previous by thread: Re: OTBind and bind
  • Next by thread: Re: OTBind and bind
  • Index(es):
    • Date
    • Thread