summaryrefslogtreecommitdiff
path: root/vpn/10.10.10.1
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2012-11-29 19:13:19 +0000
committerComment <tim@gray.(none)>2012-11-29 19:13:19 +0000
commit7ae1f870faebb65e9ee3a064fc43ef2fc6955a84 (patch)
tree461ad1daea435954a994a2aac0157972d5d51e74 /vpn/10.10.10.1
parent8ccec15ca16cc78c625d02a56e73ff3b84858197 (diff)
work on asterisk plugin
Diffstat (limited to 'vpn/10.10.10.1')
-rwxr-xr-xvpn/10.10.10.114
1 files changed, 0 insertions, 14 deletions
diff --git a/vpn/10.10.10.1 b/vpn/10.10.10.1
deleted file mode 100755
index 7ec52f7..0000000
--- a/vpn/10.10.10.1
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python
-
-import socket
-
-UDP_IP = ""
-UDP_PORT = 5000
-
-sock = socket.socket(socket.AF_INET, # Internet
- socket.SOCK_DGRAM) # UDP
-sock.bind((UDP_IP, UDP_PORT))
-
-while True:
- data, addr = sock.recvfrom(1024) # buffer size is 1024 bytes
- print "received message:", data \ No newline at end of file