c++ - Porting Unix Sockets to Windows -


i have simple c++ library implements unix sockets , works fine on linux systems, i'm facing problem of porting part of code windows platform, not support unix sockets. alternative, far understand, implement tcp sockets, whoose principle similar (writing/reading tcp port instead of specific file).

contextually , logistically, conversion of code simple enough implement on top of existing code or should rewrite code scratch?

the berkeley api exist on windows , largely compatible other berkeley sockets implementation.

see msdn article "porting socket applications winsock" information porting sockets code windows.


Comments

Popular posts from this blog

How can we post XML strings along with text strings in iOS -

c# - cefsharp app remember password option -

linux - Writing to Embedded Controller registers in Ubuntu 14.04 -