Home > Net >  WCF automatic reconnect
WCF automatic reconnect

Time:03-15

WCF automatic reconnect, it is installed on the client heartbeats, or on the server installation? Which better? The server installation, timer running day and night, will be a problem?

CodePudding user response:

Although we do not have shown the WCF, but you have done, so be it
Heart, of course, is to do the client end, server end do have to cycle, waste of resources,

CodePudding user response:

reference 1st floor wanghui0380 response:
although we do not have shown the WCF, but you have done, so be it
Heart, of course, is to do the client end, server end do have to cycle, waste of resources,

The client heartbeat interval, generally set is suitable for how long?

CodePudding user response:

Ps: reconnection is the client side of things, because the NAT, the server end itself reconnection is not recommended, (TCP link cannot reverse pass through)

The purpose of the heart, also is you imagine different, the sole purpose of heartbeat, is to make the routers, switches and other physical equipment to recycle port, he is not a business logic,
So there is no what heartbeat interval that XX garden type

To send, the correct way of saying: in the free time (how long is your sokect no transceiver, go to send a,)

CodePudding user response:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/84551e45-19a2-4d0d-bcc0-516a4041943d/explaination-of-different-timeout-types? Forum=WCF
  •  Tags:  
  • C#
  • Related