• 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: OpenTransport behaviour under X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenTransport behaviour under X


  • Subject: Re: OpenTransport behaviour under X
  • From: "Philip D. Wasson" <email@hidden>
  • Date: Thu, 6 Nov 2003 19:15:41 -0500

On Thursday, Nov 6, 2003, at 18:56 US/Eastern, Mike Cohen wrote:

The select call is available natively in OSX, plus the standard unix socket calls are very similar to Winsock. Could you have it use the native socket layer? I'm sure the results would be a lot better than using yet another layer on top of OT, which itself is a layer on top of native sockets.

On Nov 6, 2003, at 5:42 PM, Marc Stibane wrote:

The problem is that the application was written for WinSocks, and calls
"select". The glue code uses OTLook to simulate the behaviour of "select"
- which doesn't want to read data, but only to find out whether new data
arrived.
Later the application calls "recv" to read that data.

I agree. We have networking code that's shared between Mac OS 9 (on top of GUSI), Mac OS X (native BSD Sockets), and Windows (WinSock). There are a few #ifdefs, but mostly it's all the same and seems to work pretty well.

----------------------------------------------------------------------
Philip D. Wasson pwasson at maned dot com
Software Engineer Managing Editor Inc.
_______________________________________________
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.

References: 
 >Re: OpenTransport behaviour under X (From: Mike Cohen <email@hidden>)

  • Prev by Date: Re: OpenTransport behaviour under X
  • Next by Date: Re: OpenTransport behaviour under X
  • Previous by thread: Re: OpenTransport behaviour under X
  • Next by thread: Re: OpenTransport behaviour under X
  • Index(es):
    • Date
    • Thread