OXNet is a project mainly written in C, it's free.
network version of "tic-tac-toe" game (console version)
network version of tic-tac-toe (cli)