• 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: Network.framework and client/server?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network.framework and client/server?


  • Subject: Re: Network.framework and client/server?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 02 Nov 2018 17:00:32 -0700


> On Nov 2, 2018, at 4:56 PM, Carl Hoefs <email@hidden> wrote:
>
> How does one do that with Network.fw <http://network.fw/>? It listens on the
> given port, but the incoming connection exclusively uses that port. Other
> connections can't proceed until the first one disconnects.

I haven’t seen the Swift API, but in the C API the nw_listener has a
new-connection handler block, which is called when a connection is accepted;
then that connection runs independently. The listener should call that handler
every time an incoming connection is made…

—Jens
 _______________________________________________
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: Network.framework and client/server?
      • From: Carl Hoefs <email@hidden>
References: 
 >Network.framework and client/server? (From: Carl Hoefs <email@hidden>)
 >Re: Network.framework and client/server? (From: Jens Alfke <email@hidden>)
 >Re: Network.framework and client/server? (From: Carl Hoefs <email@hidden>)

  • Prev by Date: Re: Network.framework and client/server?
  • Next by Date: Re: Network.framework and client/server?
  • Previous by thread: Re: Network.framework and client/server?
  • Next by thread: Re: Network.framework and client/server?
  • Index(es):
    • Date
    • Thread