[computer network] Linux network programming basic API

Linux network programming basic API Socket address API Byte order Large end byte order (network byte order): the high-order byte (2331 bit) of an integer is stored at the low address of the memory, and the low-order byte (07 bit) is stored at the high address of the memorySmall end byte order (host byte order): the high-order byte of a ...

Posted by beebum on Sat, 11 Sep 2021 22:44:40 -0700

[java] BIO, NIO, AIO learning

BIO BIO(blocking I/O): Synchronization is blocked, and the server implementation mode is to connect a thread, that is, when a client has a connection request, the server side needs to start a thread to process it. If this connection does nothing and causes unnecessary thread overhead, it can be improved through the thread pool mechanism (to en ...

Posted by mortimerdude on Sat, 11 Sep 2021 12:15:24 -0700