PC client-oriented server socket communication method
A communication method and client technology, applied in the field of data communication, can solve the problems of unsatisfactory speed and efficiency of communication methods, and achieve the effect of improving speed and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046] The principles and features of the present invention will be described below with reference to the accompanying drawings. The examples cited are only used to explain the present invention and not used to limit the scope of the present invention.
[0047] Such as figure 1 As shown, a socket communication method for a server of a PC client is provided, including:
[0048] S1. Start a new thread, create a socket processor object for the PC client server according to predetermined parameters, and start a new thread to create a socket connection monitor object at the same time. The predetermined parameters include: service type, server listening address, server listening port, connection settings Parameters, message format conversion processing class and message handler;
[0049] S2. In the socket processor object, create a server socket channel object, a server socket connection object and an event selector, and set the server socket channel object to non-blocking mode, and bind t...
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