AttachedServer.listen_once

AttachedServer.listen_once(ip, port)

Listen on ip:port for a connection and return on first one.