Capturing network status change event

后端 未结 4 1627
故里飘歌
故里飘歌 2021-01-20 19:50

I am trying to get events when the internet connection is reestablished after it is lost. It is for a data transfer software that I am developing. If I lose the network duri

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-20 20:21

    I don't know which protocol you use and whether you can control the destination, but in that case, the destination can poll for a retry. The destination knows best what it has received, so it can give the received number of bytes as offset for the retransmission.

提交回复
热议问题