<reponame>Rose-Hulman-Rover-Team/Rover-2019-2020
#!/usr/bin/python

import socket #import the socket module

s = socket.socket() #Create a socket object
host = socket.gethostname() #Get the local machine name
port = 12397 # Reserve a port for your service
s.bind(('', port)) #Bind to the port

s.listen(5) #Wait for the client connection
c,addr = s.accept() #Establish a connection
while True:
    #print i
    c.send("Thank you for connecting!")
    
c.close()
print ("TEST")

#!/usr/bin/python

import socket #import the socket module

s = socket.socket() #Create a socket object
host = socket.gethostname() #Get the local machine name
port = 12397 # Reserve a port for your service
s.bind(('', port)) #Bind to the port

s.listen(5) #Wait for the client connection
c,addr = s.accept() #Establish a connection
while True:
    #print i
    c.send("Thank you for connecting!")
    
c.close()
print ("TEST")
#!/usr/bin/python #import the socket module #Create a socket object #Get the local machine name # Reserve a port for your service #Bind to the port #Wait for the client connection #Establish a connection #print i