Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-WIC-Opencpc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-WIC-Opencpc
Commits
b27593a8
Commit
b27593a8
authored
Mar 21, 2018
by
joliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对应测试智能体单元模块测试脚本
parent
4bf22d07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
tests/testListenSer.py
tests/testListenSer.py
+11
-0
No files found.
tests/testListenSer.py
0 → 100644
View file @
b27593a8
import
socket
import
sys
message
=
sys
.
argv
[
1
]
# message = "controller&clear&niubi"
s
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
s
.
connect
((
"127.0.0.1"
,
3000
))
s
.
sendall
(
message
.
encode
())
response
=
s
.
recv
(
1024
).
decode
()
print
(
response
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment