Open Fabian-Lobnig opened 3 weeks ago
@Fabian-Lobnig, thanks for the feedback! Could you create a PR with your fix?
Hi,I ll take some time because I m very busy atmThat is why I added the fix diff into the issue, maybe someone gets to it faster than I will but I will try to make it happenOn Jun 19, 2024 14:44, Rodrigo Martín @.***> wrote: @Fabian-Lobnig, thanks for the feedback! Could you create a PR with your fix?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Description
Your .setTimeout method does not work correctly - when calling .setTimeout the "timeout" event is only called once Also your .setTimeout only takes write activity into account The NodeJS implementation however states "timeout" should be called after ms of any inactivity
Steps to reproduce
Steps to reproduce the behavior:
Fix
Expected
Receive "timeout" event after ms of any inactivity
Relevant information
| OS | any - this is js code | | react-native-tcp-socket | 6.0.6 |