Networking with Python
Sockets, HTTP requests, and building a simple port scanner—only on systems you own.
1. Socket Programming
Create TCP connections with Python sockets and understand host, port, and timeouts.
15 min
+53 XP
2. HTTP Requests (requests library)
Fetch URLs, inspect status codes and headers, and use requests for defensive checks.
15 min
+53 XP
3. Port Scanner Script
Walk through a beginner port scanner design: loops, sockets, and ethical limits.
15 min
+53 XP
4. Lab — Build a Port Scanner
Build and run a localhost-only port scanner with copy-paste Python you can extend.
25 min
+53 XP
5. Quiz — Python Networking
10-question quiz on sockets, HTTP, and responsible scanning.
10 min
+53 XP