Thanks.
I don't know how I should do this. Should I in my game loop send all data to the clients in a synchronous way or asynchronous.
If I will send data synchronously then I will stale my game loop for some time but I will have the knowledge about the funtion result.
If I send data asynchronously my game loop will be not stopped but I would not know what happened with the data? But I suppose there will be a callback function as a parameter which will be fired up when asynchronous call finishes?