Comments (4)
- Run
make
ineasysocket/
folder - Run
sudo install.sh
in 'easysocket/' folder to install library system-wide - Done!
Then you can link library with -leasysocket
from async-sockets-cpp.
Hello,
I tried that. I got no errors but when I compile, I get this:
heisenbergk@HeisenbergK-OMEN:~$ g++ -leasysocket tryeasysock.cpp
tryeasysock.cpp:4:10: fatal error: tcpserver.h: No such file or directory
#include <tcpserver.h>
^~~~~~~~~~~~~
compilation terminated.
In the tryeasysock.cpp I have the tcp-server example.
from async-sockets-cpp.
You should write like this: <easysocket/tcpserver.h>
Because header files are in /usr/local/include/easysocket
folder.
from async-sockets-cpp.
That's great!!
I also used link_libraries( pthread easysocket )
in CMake to finish the deal.
Thank you
from async-sockets-cpp.
Related Issues (20)
- nice api
- tcpsocket in tcpserver question HOT 1
- Don't use strings for error notifications HOT 2
- Not accepting connections HOT 4
- program blocked when tcp client connection to a tcp server failed HOT 4
- TCP socket closed after 5 seconds HOT 3
- TCP server stops receiving packets after around 160 seconds HOT 2
- Installation under MacOS HOT 3
- memory leak in `TCPServer ::Accept` ? HOT 1
- client crashed when server is closed HOT 2
- Data race HOT 2
- memory leak HOT 3
- non-static const is causing problems HOT 9
- internal buffers are not configurable
- add func for tcpserver.hpp so that it can send msg to specific ip:port or send to all connected devices at once HOT 1
- Stack buffer overflow in static void Receive(TCPSocket* socket) at tcpsocket.hpp HOT 3
- Stack Buffer Overflow in static void ReceiveFrom(UDPSocket* udpSocket) at udpsocket.hpp HOT 5
- Add QNX support HOT 2
- tcpserver close and exit, run it again is show 98 : Cannot bind the socket. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async-sockets-cpp.