[TCP Keep-Alive] in MKR1000
i trying stream data server. quite found transfer stopped , resumed few seconds later. way sent data loop in sequence
- client.connect
- put post data in block , client.println
- client.stop
i did packet capture , found apparently right after server sent tcp retransmission mkr1000, mkr1000 sent tcp keep-alive, stop happens , connection resumed initiating new connection mkr1000. attached 2 screenshots regarding issue. 192.168.10.19 mkr1000 , 192.168.10.29 server.
my question why sending [tcp keep-alive], after [fin, ack], not idea execute client.stop right after client.println?
any idea? thanks.
- client.connect
- put post data in block , client.println
- client.stop
i did packet capture , found apparently right after server sent tcp retransmission mkr1000, mkr1000 sent tcp keep-alive, stop happens , connection resumed initiating new connection mkr1000. attached 2 screenshots regarding issue. 192.168.10.19 mkr1000 , 192.168.10.29 server.
my question why sending [tcp keep-alive], after [fin, ack], not idea execute client.stop right after client.println?
any idea? thanks.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > [TCP Keep-Alive] in MKR1000
arduino
Comments
Post a Comment