Id love to see the receive code too if theres some.
Also you should use send_data_id instead of sending the shit in a for loop because of overhead and cuz its just simplier, saves lines of code and is even faster^^