Patent ID: 8966073
Filing Date: 2015-02-24
Classification: H04L

Abstract:
1. A network communication method for use in a system kernel where a network data transceiver thread and a listening socket are created, the method comprising steps of: associating the network data transceiver thread with the listening socket and adding the listening socket into an epoll queue; listening, by the listening socket, events in the epoll queue and performing, when sensing an event requiring to transmit/receive data, a specific operation corresponding to the event and sending a notification to the network data transceiver thread associated with the listening socket; and transmitting/receiving, by the network data transceiver thread, a network data according to the notification from the listening socket, wherein in the step of transmitting/receiving, by the network data transceiver thread, a network data according to the notification from the listening socket comprises: the step of performing a specific operation corresponding to the event and sending a notification to the network data transceiver thread associated with the listening socket comprises: the step of directly reading data from the KMQ for a KMQ event comprises: