Porting Winsock to Linux Sockets

前端 未结 4 928
盖世英雄少女心
盖世英雄少女心 2021-01-11 15:56

I have a program that does some networking using Winsock, and one of our requirements right now is to port over our program to Linux. The only thing stopping us from doing t

4条回答
  •  春和景丽
    2021-01-11 16:38

    Without seeing code, it's tough to say how easy it is. But you should be able to replace winsock calls to analogs in sys/sockets.h.

提交回复
热议问题