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

Pythonfags, I want to learn about networking. Where do I start?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 1

File: lceOAtI.jpg (84KB, 600x787px) Image search: [Google]
lceOAtI.jpg
84KB, 600x787px
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 posts: 7
Thread images: 1


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.