Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
Linux C++ Socket Example with Client Server and Mulit-T
The aim of this Linux C++ example is to create simple client/server socket communication and multi-threading program on Linux.http://www.tidytutorials.com/2010/06/linux-c-socket-example-with-client.html
Total Hits: 20966
Total Votes: 72 votes
Average Rating: 2.96 out of 5
Category: C and C++/Basic Concepts
Description:
The aim of this Linux C++ example is to create simple client/server socket communication and multi-threading program on Linux. This shows the basics such as binding, listening and accepting sockets for Servers and connecting sockets for clients. Once the server accepts a socket, a thread is spawned to handle it. The threads are C++ POSIX threads. This is the simplest Linux C++ multi-threaded socket example you can find. Please leave any comments or questions at the end of this tutorial and I will endeavour to answer them.Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 12.5% |
9 |
![]() ![]() |
![]() ![]() 11.11% |
8 |
![]() ![]() ![]() |
![]() ![]() 15.28% |
11 |
![]() ![]() ![]() ![]() |
![]() ![]() 13.89% |
10 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 31.94% |
23 |




12.5%

11.11%

15.28%

13.89%

31.94%