From: Jon M. <jm...@re...> - 2022-01-12 16:34:15
|
On 1/11/22 18:01, Duzan, Gary D via tipc-discussion wrote: > Is there a reliable way for a process to determine if a TIPC socket address points to an open socket without disturbing the target process? I'm hoping to be able to determine the liveness/reachability of a datagram peer, at least roughly, without taking on the complexity of additional messaging (or group membership and join/leave tracking). > > Thanks. It depends on the socket type and state. If it is a connected socket there is a built-in mechanism that will make sure that the peer socket is immediately notified, and the user will receive this notification. The same is the case with group sockets. For DGRAM sockets there is no such mechanism, since it is impossible for TIPC to know which peers need to be supervised. ///jon > > Gary Duzan > FIS GT.M Core Team > > The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. > > _______________________________________________ > tipc-discussion mailing list > tip...@li... > https://lists.sourceforge.net/lists/listinfo/tipc-discussion > |