Linux
Linux System Programming 6 Hours Course
Compiling on Fedora
Run the following commands
|
|
Study resources
Network
OSI model
- Physical
- Data link -> This is the driver
- Network -> This is IP layer
- Transport -> This is TCP/UDP layer
- Session -> Socket.accept() layer
- Presentation -> GSON library
- Application
TCP on IP Code
- 3 ways for establish connection
- 4 ways for closing connection, because both client and server may have data left for sending.
UDP on IP Code
epoll (https://www.youtube.com/watch?v=WfJodwornTM) Efficient as it only returned socket/file which have changes.