]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/radio.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Demo / sockets / radio.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/radio.py b/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/radio.py
deleted file mode 100644 (file)
index 084ef88..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-# Receive UDP packets transmitted by a broadcasting service\r
-\r
-MYPORT = 50000\r
-\r
-import sys\r
-from socket import *\r
-\r
-s = socket(AF_INET, SOCK_DGRAM)\r
-s.bind(('', MYPORT))\r
-\r
-while 1:\r
-    data, wherefrom = s.recvfrom(1500, 0)\r
-    sys.stderr.write(repr(wherefrom) + '\n')\r
-    sys.stdout.write(data)\r