BG96 close socket automatically

Hi

We are working on BG96, TCP/IP connection. The situation is next:

We work in “server mode”. The BG96 have a “socket listener” and when there is a socket incoming the communication is stablished correctly (we receive the URC “socket incoming”).

However, after sending a data packet correctly, we immediately receive a “closed” URC (socket closed).

It seems that BG96 is closing the socket immediately every time. So the socket is connecting and disconnecting in our application constantly. In “client mode” we don’t have this behavior.

What could be the problem?

Thanks

noramally , BG96 will not close the socket immediately ,for more detail ,we need to QXDMlog to do more analysis .