Just some random socket programs in c