Today is another lecture of our course “Network Programming in UNIX”.
In it, Mark Korenberg ( Aydeko Company ) tells students about the "toy" astrological protocol. At the end of the last lesson, students received a task - to write a simple TCP server. In this lecture there is no new theoretical material. Students are encouraged to write a client, server, and proxy for a more complex protocol. In subsequent sessions, these programs will be used as a basis for learning new topics. ')
You can follow the lead of the course. But only if you learned the material of the two previous lectures, and also have the skills to handle strings and memory buffers in C (help is here ).
Unfortunately, none of the students coped with the task.
“The level of training of our students was not always the way we would like. C ++ students studied for a long time. They managed to forget much. And they didn’t read it at all, ”said Alexander Patrakov about how UFU students were trained.
We hope that you have a client and server successfully interact.