Sockets
What are they? 🔌
Ye Lin Aung
What is the first thing that comes to mind?
Not like this …
This thing ???
This is about (Linux) sockets
What type of Sockets are there?
What’s below and above them ?
How does the TCP/UDP sockets work?
How are they sending the data over ?
How are they sending the data over ?
Demo time!
The (in)famous TCP 3-Way Handshake 🤝
SYN – SYN,ACK – ACK 🤝
SYN – SYN,ACK – ACK 🤝 but in Terminal
“pdb” ( 🐍 Python Debugger) cheatsheet
This is cool but … 🤔
Enter “concurrency” 🥁
But today .. we are going back to stone age
OK enough with all these slides! Show me the code
https://gist.github.com/yelinaung/57e817eeac0c89487a5a3a621ee6eb69
I/O Multiplexing
What are select(), poll(), epoll() ?
epoll() > poll() > select()
There’s a new kid in town “io_uring"
A bonus - fetch( .. )
What’s next?
Thank you
Link to the talk https://bit.ly/yelin-socket
Feedback pls 🙏