I\'m writing a server(mainly for windows, but it would be cool if i could keep it multiplatform) and i just use a normal console window for it. However, I want the server to
You can try placing the input and output on separate threads. I'm not quite sure why you want to do this, but threading should do the job. :)
http://en.wikibooks.org/wiki/C++_Programming/Threading