Skip to content
Open
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
5 changes: 3 additions & 2 deletions ClientGUI_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# create a socket object
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
# get local machine name
host = "192.168.1.100"
host = ''
port = 9999
# connection to hostname on the port.
s.connect((host, port))
Expand Down Expand Up @@ -82,7 +82,8 @@ def Receive():
AppStart.myWindow.usertext.EndUnderline()
AppStart.myWindow.usertext.WriteText(" ")
AppStart.myWindow.usertext.WriteText(p.decode('ascii'))
#s.close()

"""Needs to handle disconnection from the host, Recieve to be modified accordingly"""

thread.start_new_thread(Receive,())
AppStart.MainLoop()
Expand Down