i'm working on simple programm that is just repeatedly sending an reseving messages von the other endpoint.
Then i noticed that when block both a little with sdl_delay(40)(Client) and sdl_delay(30)(server)
then sdlnet_tcp_send isn't blocking if there's no time between the sendings, it sends a few times, then it blocks for about 30 seconds, sends a few time, blocks, and so on.
why does tcp_send block , when i don't use delay?
Sdlnet_tcp_send blocking reason
2 replies to this topic