Unfortunately there is a problem with this solution because probably via this Resident script whole ethernet is blocked still. When I switch on this script I can't use other functions of sending data e.g. sending data via TCP. When this UDP script is switched on and I try to send something via TCP I have always information "connection refused".
I tried a few things and it seems that when I try prepare some other TCP connection via resident script it is not working but when I try send some data via TCP in the event script there is no collision.
I tried a few things and it seems that when I try prepare some other TCP connection via resident script it is not working but when I try send some data via TCP in the event script there is no collision.