Cross platform Networking API [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I was wondering if there was an API to do networking that would work on Windows, Mac and Linux. I would like to make a card game that 2 people can play through a TCP connection. 回答1: There are a few options for this, some easier to use than others: APR (Apache Portable Runtime) - Very popular. Quite easy to use.