minimal raw_socket example code