mirror of https://github.com/python/cpython
Choose a port that doesn't conmflict with real radio
This commit is contained in:
parent
e266344faf
commit
a8413b2ef0
|
@ -12,7 +12,7 @@
|
|||
import sys, al
|
||||
from socket import *
|
||||
|
||||
port = 54321
|
||||
port = 5555
|
||||
if sys.argv[1:]: port = eval(sys.argv[1])
|
||||
|
||||
s = socket(AF_INET, SOCK_DGRAM)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import sys, al
|
||||
from socket import *
|
||||
|
||||
port = 54321
|
||||
port = 5555
|
||||
if sys.argv[1:]: port = eval(sys.argv[1])
|
||||
|
||||
s = socket(AF_INET, SOCK_DGRAM)
|
||||
|
|
|
@ -12,7 +12,7 @@ from socket import *
|
|||
|
||||
host = sys.argv[1]
|
||||
|
||||
port = 54321
|
||||
port = 5555
|
||||
if sys.argv[2:]: port = eval(sys.argv[1])
|
||||
|
||||
s = socket(AF_INET, SOCK_DGRAM)
|
||||
|
|
Loading…
Reference in New Issue