Skip to content

anthonyraf/tcp-socket-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Using sockets in c++ on windows

The server send "Hello World" to the client

Compilation

$ g++ -o server.exe server.cpp -lws2_32
$ g++ -o client.exe client.cpp -lws2_32

Note: -lws2_32 is obligatory

Run

$ server.exe
$ client.exe

About

This is an example of using sockets in c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages