improve inet_sender_test
improve example to test the connection