send() vs sendto()# Java - 爪哇娇娃
c*n
1 楼
in socket programming, normally sendto() is for UDP, but TCP can also use
it.
why would TCP use sendto() instead of send(), then?
(I saw that mongodb seems to be using sendto() )
Thanks
it.
why would TCP use sendto() instead of send(), then?
(I saw that mongodb seems to be using sendto() )
Thanks