What to replace take_connection()?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By roma

What to replace take_connection() in UDP server? In the standard UDP tutorial, I took an example of a server for my game. But only one message arrives, because take_connection() is True only when something arrives from an unknown IP (the first time), and after it arrives, the IP becomes known, and take_connection() is no longer True when a message arrives from a known IP. What can be replaced so that it comes from a known IP?