Finding out if a message over tcp was delivered

后端 未结 6 1591
情深已故
情深已故 2020-11-29 08:29

When i send()/write() a message over a tcp stream, how can i find out if those bytes were successfully delivered?

The receiver acknowledges receiving the bytes via t

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-29 09:05

    This sounds like SCTP could be something to look at; I think it should support what you want. The alternative seems to be to switch to UDP, and if you're switching protocols anyway

提交回复
热议问题