3 ms·
Depending on the level of your students, if you get the chance to talk a little bit about sockets, you can always guide them to build a very simple HTTP Server.
by jventura 3y ago
Depending on the level of your students, if you get the chance to talk a little bit about sockets, you can always guide them to build a very simple HTTP Server.
In reality, you don't need to go much deep on sockets, just talk about send() and recv(), and in very simplistic terms. You can check this [1] blog post of mine, and the final code is very simple but very useful to learn how the "internet" works..
Good luck!
[1] https://joaoventura.net/blog/2017/python-webserver/ https://joaoventura.net/blog/2017/python-webserver/
- fdeage 3y agoThank you for that, networking is often the blind spot when teaching Python... Also, you're right, it looks much simpler than expected. I'll have a look!