basic send and receive packets over ipv4