Jump to content

UDP open - reconnect logic required?


bjustice

Recommended Posts

Another network question:

Do I have to implement reconnect logic when using UDP?

More pointedly:

If I successfully open a UDP port, then will this UDP connection ID ever become invalid or closed somehow in a way that would force me to close it and then reopen it to reestablish communications?

Example: TCP requires proper handling of reconnect logic.  When the client or server closes the TCP connection, then the connection is closed on both ends.

image.png.db3bdce66bc6aa00d83ddeab67e2d9f4.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.