generated from PlexSheep/rs-base
fix: adjust solutions to new ports and fix solution 2
cargo devel CI / cargo CI (push) Successful in 1m50s
Details
cargo devel CI / cargo CI (push) Successful in 1m50s
Details
This commit is contained in:
parent
5f29c42aeb
commit
beede609f1
|
@ -2,7 +2,7 @@ from io import BufferedRWPair
|
|||
import socket
|
||||
|
||||
REMOTE = "127.0.0.1"
|
||||
PORT = 1337
|
||||
PORT = 1338
|
||||
|
||||
def main() -> int:
|
||||
s = socket.socket()
|
||||
|
@ -12,6 +12,7 @@ def main() -> int:
|
|||
pl = int.to_bytes(1337, 2, "big")
|
||||
|
||||
_ = send(sf, pl)
|
||||
_ = recv(sf).decode()
|
||||
|
||||
sf.close()
|
||||
return 0
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
from io import TextIOWrapper
|
||||
import socket
|
||||
import time
|
||||
|
||||
REMOTE = "127.0.0.1"
|
||||
PORT = 1337
|
||||
PORT = 1339
|
||||
MAX_GUARD = 300
|
||||
|
||||
def calc(a: int, b: int, op: str) -> int:
|
||||
|
|
Loading…
Reference in New Issue