17 Nov 2017, 17:38

@supernature2k Thanks for your help. I tried as you proposed but it still doesn't work 😕
I replaced

def netcmd(channel):
    retroarch(nwcommand)

with

def netcmd(channel):
      retroarch(COMMAND)

I can use this script only once. Really no idea why it stucks..
I also tried to close the socket with s.close