Go to file
XuQi0207 9daefa9008 new bitmap lib 2017-08-22 17:22:01 +08:00
DBConfig connect with db 2017-03-28 11:02:57 +08:00
README.md readme 2016-12-19 14:22:38 +08:00
client.cpp to test performance 2017-07-20 15:11:13 +08:00
client.h to test performance 2017-07-20 15:11:13 +08:00
client.py bitmap works 2017-08-22 17:21:11 +08:00
libclient.so for db connection 2017-03-28 11:04:56 +08:00
libpycall.so new bitmap lib 2017-08-22 17:22:01 +08:00
main.cpp to test performance 2017-07-20 15:11:13 +08:00
multiserver.py threading finished 2017-03-27 15:59:02 +08:00
pycall.c new bitmap lib 2017-08-22 17:22:01 +08:00
pycall.py new bitmap lib 2017-08-22 17:22:01 +08:00
server.py with size and targetdir 2016-12-19 14:11:17 +08:00

README.md

transfer

<<<<<<< HEAD

The files: main.cpp:the c++ interface to run the client. client.h:The head file of client.cpp. client.cpp:It is the interface of the client from python to c++. client.py:It is the fulfill of the client function. libclient.so:the lib that is needed by main function. server.py:the server code.

##How to run: The server:python3 server.py The client:g++ -shared -fPIC -o libclient.so client.cpp -I/root/Python-3.5.0/Include/ -lpython3.5m -L/usr/local/lib/ g++ main.cpp -o main -I/root/Python-3.5.0/Include/ -lpython3.5m ./libclient.so ./main