Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

codesgirl/Simple-TCP-Server-Client-CPP-Example

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-TCP-Server-Client-CPP-Example

C++ socket example

Source code belongs to: https://simpledevcode.wordpress.com/2016/06/16/client-server-chat-in-c-using-sockets/

To use on Linux:

Open terminal and copy-paste following lines:

cd INTO_CPP_FOLDER
g++ tcp-Server.cpp -o server
./server 8080

Open another terminal and copy-paste following lines:

cd INTO_CPP_FOLDER
g++ tcp-Client.cpp -o client
./client 127.0.0.1 8080

Note: This is for only Local usage.

About

C++ socket example for Linux OS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.