Python-Unity Network
Python 和 Unity 间通讯
https://github.com/Siliconifier/Python-Unity-Socket-Communication
https://github.com/Siliconifier/Python-Unity-Socket-Communication
The source code repository:https://github.com/unpbook/unpv13e
1 | git clone https://github.com/unpbook/unpv13e |
Configure the makefile for your system:
1 | CC=gcc CFLAGS=-w CPPFLAGS=-w ./configure |
In archlinux, if you use
./configure
directly, you will getWimplicit
compile error in the following steps.
Build the dependence library.
1 | cd lib |
You can test by using the sample program
1 | cd ../intro |
If you get error
1 | connect error: Connection refused |
You need to install xinetd
, configure it and start the service
1 | yay -S xinetd |
And run daytimetcpcli
again, you will get something like
1 | 16 MAY 2024 14:09:07 CST |
Then, you are all set.