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 ?
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.
+ 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.
+ 1
Thank you very much,
I did hear about the book and will start reading that book in upcoming week.
0
Thank you William.
0
There are many YouTube videos on sockets in c