This is not-a-problem-related question ... just want to ask about your opinion.
Is it a good way to open socket with socket_open in plugin_init, use it and close it with socket_close in plugin_end? Or should I rather open / close new socket every e.g. looped function run?
Don't know if there is any difference at all but the fact is, my plugin stopped working as I moved all socket operations to one global socket.