hello everyone! i have a problem about creating socket , there is a http post client running on the QCA4004 , when the network is not available, open the socket and the http client try to connect ,obviously, it connects fail. and then socket close successfully, and i keep the net cutting off ,the program will repeat the things above, create socket and connect fail then close the socket 。 after about 1 hour , creating the socket will be fail. once a failure happens, it can not create a socket successfully anymore. could anyone answer my question.
4004 create socket fail!
Posted: Sun, 2016-02-14 23:26
The QCA4004 are provided the qcom_socket api to achiave socket connect and go through tcp_client and tcp _server.
If you're establish the tcp socket connection the server will return strcpy(buf, "hello world!");
Regards,
Ray