Home » Archive

Articles tagged with: port

C Programming, Windows »

[21 Nov 2008 | Author: 0xC0FF33 | No Comment | ]

It’s only a few days ago, that Rasco published his Chat server in C. With the first view to the code I noticed that it’s a unix only code, but it does not has to be and so I decided to port the program to the Windows platform.
It was only a change of a few lines. I had to put unix headers in a #ifndef _W32 block and add the WSAStartup() function.
I made the port with Dev-C++ 5, but it should be not to difficult to compile it with MinGW …