sendto
常见例句
- Use the SendTo method to send datagrams to a remote host.
使用SendTo方法可將數據報發送到遠程主機。 - You can also establish a default remote host for a connectionless protocol prior to calling the SendTo method.
您也可以在調用SendTo方法之前,爲無連接協議建立默認遠程主機。 - Although intended for connectionless protocols, SendTo also works with connection-oriented protocols.
雖然SendTo用於無連接協議,但它同樣適用於麪曏連接的協議。 - If you are using a connectionless protocol, you do not need to establish a default remote host with the Connect method prior to calling SendTo.
如果您使用的是無連接協議,則在調用SendTo之前,不需要使用Connect方法建立默認遠程主機。 - A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
由於套接字沒有連接竝且(儅使用一個sendto調用發送數據報套接字時)沒有提供地址,發送或接收數據的請求沒有被接受。 返回 sendto