Skip to content

UVG-Teams/so-chat

Repository files navigation

so-chat

Server:

IP: 3.8.216.108
PORT: 8000

Ejecutar en server:

g++ -o server server.cpp -lpthread
clang++ -std=c++11 -stdlib=libstdc++ -o server server.cpp petition.pb.cc -pthread -I/usr/local/include -L/usr/local/lib -lprotobuf -lpthread
./server 8000

Ejecutar el cliente:

g++ -o client client.cpp
g++ -std=c++17 -o client client.cpp
g++-10 -o client client.cpp -lprotobuf
g++-10 -o client client.cpp petition.pb.cc `pkg-config --cflags --libs protobuf`
clang++ -std=c++11 -stdlib=libc++ -o client client.cpp petition.pb.cc -pthread -I/usr/local/include -L/usr/local/lib -lprotobuf -lpthread
./client Willi 3.8.216.108 8000

Para compilar el proto

protoc --cpp_out=./ ./petition.proto

About

UVG Sistemas Operativos - Proyecto Chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages