Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
## /:\ gitStream automation demo




erwtert
a
6 changes: 6 additions & 0 deletions src/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def newConnections(socket):
print(New connection at ID + str(connections[len(connections) - 1]))
total_connections += 1




def main():
#Get host and port
host = input(Host: )
Expand All @@ -60,6 +63,9 @@ def main():
sock.bind((host, port))
sock.listen(5)




#Create new thread to wait for connections
newConnectionsThread = threading.Thread(target = newConnections, args = (sock,))
newConnectionsThread.start()
Expand Down