Socket Programming for Windows C/C++

前端 未结 7 454
太阳男子
太阳男子 2021-01-26 03:40

I have write a game on OpenGl, and want to make it a multiplayer game. I\'m working on Windows, but I\'m actually a C#-programmer. Socket programming goes too easy at C#, but at

7条回答
  •  再見小時候
    2021-01-26 04:12

    Beej's Guide to Network Programming is recommended in a number of SO replies, for example binding-a-socket-to-port-80-in-ansi-c. Try going over the examples, and maybe you'll find that it's not "too complicated". Windows winsock is highly compatible with the standard socket library. The tutorial contains instructions for programming sockets under Windows.

提交回复
热议问题