Skip to content

yourback/tcpSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcpSocket

python tcp_socket server and client with C command resolutions

news

1 add key "space" to let machine move free

2 when release keys(up down left right) send a stop order

3 add thread event to control send order stop

how to use:

C file to .so file order
gcc -o py2cso.so -shared -fPIC order_analysis.c

contain 6 order below

up go ahead 1
down go back 2
left go left 3
right go right 4
space move free 5

the keys release all above trigger stop order 0
and the keys follows will help you to define some new functions

home customize1 5
end customize2 6
page_up customize3 7
page_down customize4 8

remember to write c file use these order codes

About

python tcpsocket server and client with C command resolutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors