IfElse
  • Home
  • Questions
  • Tags

How to know if a client has stopped sending me a message type

Navigation
0

I'm creating an online minigame. The server (UDP) is doing it with python. I wonder if there is any way to know from the server if one of the connected clients has stopped sending X message.

I need it to manage the disconnections. That's why I need to tell the server that if I do not receive the message ("I'm still connected") then delete that user's connection.

    
python python-3.x
asked by Iván 06.01.2018 в 19:42
source

0 answers

___ ___ erkimt Return values form previously filled - CodeIgniter ______ qstntxt ___

If a form is filled out and the next button is clicked but the user realized that there is a error and clicks on a previous button , how to do so When clicking on the previous button I returned the form that had been previously filled and that the fields of that form appear filled with the last record that had been entered, and thus avoid having to go back to fill out the form completely and only have to correct what is required.

CONTROLLER

%pre%

MODEL

%pre%

JavaScript FUNCTION FOR THE 'PREVIOUS' BUTTON

%pre%     
______ azszpr128929 ___

Use Js or Jquery save the values in session Storage, when you send the form you save that information, if you reload the page in the JS, consult if there is such an information, if so, you load it in each of the corresponding fields.

    
___
Access web django through Moodle
user contributions licensed under cc by-sa 3.0 with attribution required.
IfElse