This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed

UDP socket open/close status

Like TCP socket is there any way to identify the socket status for UDP .(Whether it's opened or closed).


Comments

  • UDP connections are in themselves not stateful connections, but rather stateless. There are several reasons why, mainly because they don't contain any connection establishment or connection closing; most of all they lack sequencing. Receiving two UDP datagrams in a specific order does not say anything about the order in which they were sent. It is, however, still possible to set states on the connections within the kernel.
  • It depends of the UDP service. It should support some sort of "ping" if you want check availability.
This discussion has been closed.