Communication method and device, electronic device and computer readable storage medium
A communication method and computer program technology, applied in the field of communication, can solve problems such as client system memory leaks, and achieve the effects of avoiding memory leaks, avoiding reduction, and avoiding occupation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] The applicant of the present application has found through research that, by default, the communication mode of the socket is full-duplex, that is, for the creator of the socket, both data packets can be sent and data packets can be received. The TCP type socket provides the shutdown() API (full name in Chinese: application programming interface, full name in English: Application Programming Interface) that can set the socket to half-duplex, that is, for the creator of the socket, only data packets can be sent or Only packets can be received. But for UDP sockets, the kernel does not provide a similar API. For a UDP socket in full-duplex state, if the initiator of the communication does not pay attention to the reply packet from the peer end, the user mode process will not read the reply packet in the socket receiving buffer, which will cause a memory leak on the local end.
[0037] Therefore, in this application, a new protocol type is added for communication between d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com