Home > Net >  Supersocket server can actively initiate connections to client? How do you achieve?
Supersocket server can actively initiate connections to client? How do you achieve?

Time:11-07

If not, other similar Socket development frameworks have this function?

CodePudding user response:

Technology can be, but not feasible on the actual deployment,

A metaphor, your machine is easy to know Microsoft server address, and connect to the server, on the other hand, Microsoft's server is not easy to know the address of the computer on the desk, you
And, for security reasons, generally the light of your cat, firewall, etc., often do not allow the unknown external connection,

CodePudding user response:

reference 1st floor github_36000833 response:
technology can, but not feasible on the actual deployment,

A metaphor, your machine is easy to know Microsoft server address, and connect to the server, on the other hand, Microsoft's server is not easy to know the address of the computer on the desk, you
And, for security reasons, your light cat commonly, firewall, etc., often do not allow the unknown external connection,
local area network (LAN), IP addresses are know,

CodePudding user response:

CS is not according to peer-to-peer (p2p) network design

So, your description is wrong, no server connected to the client, unless the other party is the server

CodePudding user response:

Who is against the mainstream thinking and way out?

CodePudding user response:


reference 4 floor ying1234 response:
, this aspect of the train of thought was put forward by who?


Leadership is that should be not understand the technical details,

Since this is C/S architecture, should the client request, the server monitoring, it is generally accepted that common sense,

CodePudding user response:

CSDN is this added cache?
Like many reply posts are not synchronous

CodePudding user response:

Can't the TCP/IP protocol is such regulations.

CodePudding user response:

Can be flexible about your demand

CodePudding user response:

Even server message delivery, also want to subscribe to listen first,

CodePudding user response:

Demand analysis has a problem, can tell your business scenario

CodePudding user response:

seems to be a server to monitor the client, and then interact! The server can't initiate to the client's control, so that design of the software have security issues, also does not conform to the standard of the software design! Specific you what is your application scenario,

CodePudding user response:

Supersocket can not connect the client, client connection only after the service side, in the case of continuous connections, the server can take the initiative to send information to the client, the service side, of course, can take the initiative to disconnect the client,

CodePudding user response:

What kind of framework that's ok with this... It is not so...

Implement too..
  •  Tags:  
  • C#
  • Related