I am working with LPC1788 with RTX Kernel.I have successfully setup the TCP/IP Server with the keil examples.The ethernet MTU is limited to ~1400 bytes.I am doing the following:
1]Listening on ethernet,Upon a TCP_DATA_EVT, triggering a transmission 2]First send packet 1, if more packets to be sent, then again use tcp_send ()
The first packet is transmitted ok, but i get nack from tcp_send on successive transmissions. If I send something to the uC again, then packet is transmitted ok
Can anyone guide as to how to send multiple packets.Is there any set of initializations that are to be performed...?
It was the case that in older versions of TCPnet that only one packet at a time could be undergoing transmission. This is to say that you have to send a packet, wait for acknowledgement and then send the next. The BSD style functions encapsulate this action. Don't now if this is different in newer releases.