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ú)連接協(xié)議建立默認(rèn)遠(yuǎn)程主機(jī)。 - Although intended for connectionless protocols, SendTo also works with connection-oriented protocols.
雖然SendTo用于無(wú)連接協(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.
如果您使用的是無(wú)連接協(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.
由于套接字沒(méi)有連接并且(當(dāng)使用一個(gè)sendto調(diào)用發(fā)送數(shù)據(jù)報(bào)套接字時(shí))沒(méi)有提供地址,發(fā)送或接收數(shù)據(jù)的請(qǐng)求沒(méi)有被接受。