Choose a port that doesn't conmflict with real radio

This commit is contained in:
Guido van Rossum 1992-12-14 15:05:53 +00:00
parent e266344faf
commit a8413b2ef0
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
import sys, al import sys, al
from socket import * from socket import *
port = 54321 port = 5555
if sys.argv[1:]: port = eval(sys.argv[1]) if sys.argv[1:]: port = eval(sys.argv[1])
s = socket(AF_INET, SOCK_DGRAM) s = socket(AF_INET, SOCK_DGRAM)

View File

@ -8,7 +8,7 @@
import sys, al import sys, al
from socket import * from socket import *
port = 54321 port = 5555
if sys.argv[1:]: port = eval(sys.argv[1]) if sys.argv[1:]: port = eval(sys.argv[1])
s = socket(AF_INET, SOCK_DGRAM) s = socket(AF_INET, SOCK_DGRAM)

View File

@ -12,7 +12,7 @@ from socket import *
host = sys.argv[1] host = sys.argv[1]
port = 54321 port = 5555
if sys.argv[2:]: port = eval(sys.argv[1]) if sys.argv[2:]: port = eval(sys.argv[1])
s = socket(AF_INET, SOCK_DGRAM) s = socket(AF_INET, SOCK_DGRAM)