added todos
This commit is contained in:
@@ -44,8 +44,6 @@ def sendObj(ip_addr, blk, port):
|
||||
print("Could not connect to peer")
|
||||
return False
|
||||
|
||||
|
||||
|
||||
def connection(ip, port, db):
|
||||
server_socket = newServerSocket(ip, port)
|
||||
while(True):
|
||||
@@ -90,8 +88,4 @@ def connection(ip, port, db):
|
||||
|
||||
case "UPDATE LOG STATUS":
|
||||
db.updateLogStatus(item[1])
|
||||
continue
|
||||
|
||||
# changes on newServerConnection
|
||||
# We modified it to accept port number as a parameter, such that when
|
||||
# we make a server we can specify on which port bind it
|
||||
continue
|
Reference in New Issue
Block a user