I am using Keil's RL-TCPnet for network communications. The controller (STM32F107) is supposed to send up to 10 consecutive tcp messages every 10 ms. I am calling timer_poll() and main_TcpNet every cycle (every 10 ms), system timer is 100 ms. When I am sending consecutive messages, only the first one goes through. I tried to insert
while (tcp_check_send(socket_tcp) != __TRUE) {;}
before each message. In this case the controller just hangs there.
What can I do to send all the messages in succession? Any suggestions are highly appreciated.
Gennady