Skip to content

innatepanda/CN-p2p-file-sharing

Repository files navigation

CN-peer-to-peer-file-sharing

Run the below code on client side.

javac -h . Gui.java

gcc -c -fPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux client.c -o Gui.o

gcc -shared -fPIC -o libnative.so Gui.o -lc

java -cp . -Djava.library.path=. Gui

Run the below code on server side.

gcc -o ser multiserver.c -lpthread

./ser 4000

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •