mirror of
https://github.com/osrf/gazebo_models.git
synced 2025-09-15 12:58:56 +08:00
Updates to the server
This commit is contained in:
parent
b8ed5e3645
commit
482b65f16c
@ -8,7 +8,7 @@ from xml.dom import minidom
|
||||
import request_pb2
|
||||
|
||||
TCP_IP = '127.0.0.1'
|
||||
TCP_PORT = 5018
|
||||
TCP_PORT = 50199
|
||||
BUFFER_SIZE = 1024
|
||||
|
||||
models = []
|
||||
@ -34,7 +34,6 @@ s.listen(1)
|
||||
conn, addr = s.accept()
|
||||
print 'Connection address:', addr
|
||||
while 1:
|
||||
print "here"
|
||||
request = request_pb2.Request()
|
||||
data = conn.recv(BUFFER_SIZE)
|
||||
if not data:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user