Can you give me a simple example | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you give me a simple example

I want to learn socket programming on c++ using winsock but I dont seem to understand by looking it up on the internet so can someone please show me a simple program where the server literally just sends the message "hi" to the client and then the client outputs the message. I learn best from examples. Thanks in advance :)

19th Jun 2019, 5:55 PM
darkorbit17493
2 Answers
+ 4
You need to learn to Google a bit better as it's one of the best programmer tools 😁 I basically Googled: winsock c++ tutorial and this detailed guide came up first https://docs.microsoft.com/hr-hr/windows/desktop/WinSock/getting-started-with-winsock
19th Jun 2019, 7:03 PM
Elva
Elva - avatar
+ 1
Thanks
20th Jun 2019, 5:48 AM
darkorbit17493