[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Pythonfags, I want to learn about networking. Where do I start?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 7
Thread images: 1
File: lceOAtI.jpg (84 KB, 600x787) Image search: [Google]
lceOAtI.jpg
84 KB, 600x787
Pythonfags, I want to learn about networking. Where do I start?
>>
>>55448385
When you say networks do you mean as in computer networks or computational neural networks or do you mean graphs?
>>
>>55448385

Like sockets and shit?
>>
>>55448597
If you don't know anything about the subject I would recommend "Computer Networking: A Top Down Approach" by Kurose and Ross. You should be able to find a copy online, it's a nice easy read and the examples are in python iirc. Added advantage they start at the top of the stack so sockets will be quite close to the front.

If you already know about networking, opening a port in python is literally as simple as:
 
import sockets
my_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
my_socket.bind(('127.0.0.1', 8000))
my_socket.listen(1)


This should be in a dpt or sqt.

Good luck.
>>
>>55448385
Start by abandoning python
>>
learn OSI model
send some tcp messages between two programs on the same machine
use http GET to get something interesting (weather data perhaps)
use http POST/PUT to send data over to a RESTful api

you learned networking for programmers, gg.

(if you actually want to learn about networking as a field, not just networking for programmers, set up a mock business network with VMs, including firewalls & stuff)
>>
>>55448837
Thank you, I'll be sure to check it out
Thread replies: 7
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.