Unix Network Programing sample code