Oblon, Spivak, McClelland, Maier & Neustadt, L.L.P.
Network communication method and system
A network communication method for use in a system kernel where a network data transceiver thread and a listening socket are created. The method includes 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. A network communication system is also provided.
Tencent Technology (Shenzhen) Company Limited
H H H
H04L H04L H04L
inventional inventional inventional
Yue Wenzheng Chaoyu Jian Ming
Wu Li Zhong Chen Xie