# Socket Client Disconnect

**URL:** <https://forum.amebaiot.com/t/socket-client-disconnect/1110>\
**Category:** WiFi\
**Tags:** rtl872xd\
**Created:** [February 21, 2022, 4:37pm UTC](https://forum.amebaiot.com/t/socket-client-disconnect/1110 "2022-02-21T16:37:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raul.2020](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@raul.2020](https://forum.amebaiot.com/u/raul.2020)\
**Post date:** [February 21, 2022, 4:37pm UTC](https://forum.amebaiot.com/t/socket-client-disconnect/1110/1 "2022-02-21T16:37:20Z")

</div>

Good morning  
I am developing a project with the rtlduino rtl8720dn module (arduino environment), I am setting the module as softap on 5ghz (channel 36), then when a client connects to the server, after a few minutes it automatically disconnects.  
Does anyone have encountered this problem or know how to solve it?  
Thanks.

---

<div class="post-metadata">

**Author:** ![xidameng](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/xidameng/32/18_2.png) [@xidameng](https://forum.amebaiot.com/u/xidameng)\
**Post date:** [April 5, 2022, 2:20am UTC](https://forum.amebaiot.com/t/socket-client-disconnect/1110/2 "2022-04-05T02:20:37Z")

</div>

Hi @raul.2020

Could you provide your code for reference?

without the code it’s hard to know what’s going on…
