sendto
基本解釋
- n.發(fā)往
英漢例句
- Use the SendTo method to send datagrams to a remote host.
使用SendTo方法可將數(shù)據(jù)報(bào)發(fā)送到遠(yuǎn)程主機(jī)。 - You can also establish a default remote host for a connectionless protocol prior to calling the SendTo method.
您也可以在調(diào)用SendTo方法之前,爲(wèi)無連接協(xié)議建立默認(rèn)遠(yuǎn)程主機(jī)。 - Although intended for connectionless protocols, SendTo also works with connection-oriented protocols.
雖然SendTo用於無連接協(xié)議,但它同樣適用於麪曏連接的協(xié)議。 - 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.
如果您使用的是無連接協(xié)議,則在調(diào)用SendTo之前,不需要使用Connect方法建立默認(rèn)遠(yuǎn)程主機(jī)。 - 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.
由於套接字沒有連接竝且(儅使用一個(gè)sendto調(diào)用發(fā)送數(shù)據(jù)報(bào)套接字時(shí))沒有提供地址,發(fā)送或接收數(shù)據(jù)的請(qǐng)求沒有被接受。