~smspillaz/folly/folly-git-master

Viewing all changes in revision 6305.

  • Committer: Facebook Github Bot
  • Author(s): Orvid King
  • Date: 2018-11-02 00:26:12 UTC
  • Revision ID: git-v1:d4a7542ef1bb6a47e48cbc9b308687b9e262efb2
Create a handle-type agnostic sockets API and back the Windows socket portability layer with it

Summary:
The end goal will be to have all calls to the sockets APIs go through the agnostic API rather than the current approach, as the current approach causes a limit of ~64k sockets, due to file descriptor limitations on Windows.
All this diff does for now is create a sockets API that is not backed by file descriptors on Windows.
This also shifts the sockets portability layer to be backed by these APIs until the sockets portability layer is removed.

Reviewed By: yfeldblum

Differential Revision: D10235797

fbshipit-source-id: 1c073231290da48832608f6fec272c3d675bdfd7

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: