WARNING: This software is experimental. Code is undocumented, bad written, not revised and possibly unsafe. Seriously, don't use unless you are really know what you are doing.
NePiCo (Network Pin Control) is a control software for GPIO using TCP/IP. The general idea is a client/server software written in C, that use the /sys interface for GPIO, managed trought a client/server protocol.