Sockets

Hi! I need some way of using sockets so that I can compile my stuff on Linux and Windows with gcc without building any libraries such as boost or asio before. The problem is simple: my PC is broken and I have to use several computers as replacement. Unfortunately I do not have time nor privileges to build boost or anything like that on all the computers so I need simple way to achieve my goal with just couple of files in my include directory. C++-styled streams are preferred but I am able to write wrappers by myself.


Greatest thanks to everybody who will help,
Repentinus

PS! I need that really fast.
Write the linux and Windows code yourself, and just use #IFDEFS to have different sections compile on different platforms.
Topic archived. No new replies allowed.