This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// qe.c | |
// hidtest | |
// | |
// Created by Albin Stigö on 09/09/2017. | |
// Copyright © 2017 Albin Stigo. All rights reserved. | |
// | |
// License BSD | |
// https://opensource.org/licenses/BSD-2-Clause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
UDP_IP = "::1" # localhost | |
UDP_PORT = 5005 | |
MESSAGE = "Hello, World!" | |
print "UDP target IP:", UDP_IP | |
print "UDP target port:", UDP_PORT | |
print "message:", MESSAGE |