If you stick to the C/C++ standards, you should not have a problem porting well-written code from windows to unix, with some minor tweaking of included headers and the like.
I'm guessing that there is no GUI other than command line since its a client/server assignment under linux, which makes it possible. But be very careful that you stick to unix style sockets and C/C++ standards, and not use any windows libraries or shortcuts.