TCP server by using pure C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

TCP server by using pure C

Hi guys, Actually I am looking around for a good and step by step tutorial for implementing TCP server and sockets, something like what SoloLearn do. But did not find anything like that. Does anyone know a specific course ?

12th Feb 2022, 6:17 AM
Siavash Shojaee
Siavash Shojaee - avatar
5 Answers
+ 5
You will have to look for socket/networking programming for your particular targeted development environment. Support for networking is not built into the language itself but provided as API by the operating system. I don't have any online resource available now. But there are books on "andvanced linux programming" that cover sockets, and books specifically targeting "network programming". Perhaps you find a good resource there instead of trying to find some online tutorial.
12th Feb 2022, 7:48 AM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 2
There are a couple of online tutorials below is one: https://ops.tips/blog/a-tcp-server-in-c/ Also sometimes its helpful to read other peoples code: https://www.cs.cmu.edu/afs/cs/academic/class/15213-f99/www/class26/tcpserver.c GNU C Library online: https://www.gnu.org/software/libc/manual/html_node/ Hope some of those are helpful in your research.
12th Feb 2022, 12:36 PM
William Owens
William Owens - avatar
+ 1
Thank you very much, I did hear about the book and will start reading that book in upcoming week.
12th Feb 2022, 8:23 AM
Siavash Shojaee
Siavash Shojaee - avatar
0
Thank you William.
12th Feb 2022, 2:36 PM
Siavash Shojaee
Siavash Shojaee - avatar
0
There are many YouTube videos on sockets in c
13th Feb 2022, 2:09 AM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar