Networking using C