• 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
How different is networking on simulator vs device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How different is networking on simulator vs device?


  • Subject: How different is networking on simulator vs device?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 15 Jun 2018 10:16:33 -0700

How different is networking on the simulator vs. on an actual iOS device? That
is, at what level does the simulator connect to the host Mac? I imagine it's
one of
        (a) The system calls — socket(), connect(), write(), etc. — are
forwarded to the Mac system calls
        (b) The simulator has its own implementation of networking and talks
directly to the host network interface

I ask because I'm wondering how necessary it is to run network-related tests on
iOS hardware as opposed to the simulator. Obviously the former is better, but
it's harder to set up and requires access to a lot more devices, so our QE team
ends up doing mostly the latter.

—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: How different is networking on simulator vs device?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: NSURLSessionStreamTask handling writes in wrong order when proxied
  • Next by Date: Re: How different is networking on simulator vs device?
  • Previous by thread: NSURLSessionStreamTask handling writes in wrong order when proxied
  • Next by thread: Re: How different is networking on simulator vs device?
  • Index(es):
    • Date
    • Thread