If you are using a connection - oriented protocol , you must either use connect 如果您使用的是面向连接的协议,则必须使用
Can be used for both connection - oriented and for connectionless protocols 既可用于面向连接的协议,又可用于无连接协议。
Also works for connectionless protocols , provided that you first call the connect 是用于面向连接的协议的,但假如您首先调用
Method successfully completes . although intended for connectionless protocols , 用于无连接协议,但它同样适用于面向连接的协议。
Is intended for connectionless protocols , you can use a connection - oriented protocol as well 是用于无连接协议的,但您同样可以使用面向连接的协议。
Will not return the locally assigned network address until after you have made a call to the connect 如果当前使用的是面向连接的协议,则直到您调用了
If you are using a connection - oriented protocol , you can use this method to close the socket 如果您使用的是面向连接的协议,可以使用此方法关闭该套接字。
If you are using a connection - oriented protocol , you must first establish a remote host connection by calling the 如果您使用的是面向连接的协议,必须先调用
If you are using a connection - oriented protocol like tcp and you do disable blocking , connect 如果当前使用的是面向连接的协议(如tcp ) ,并且确实禁用了阻止,则
Its flexible nature and deep - rooted support for mime means it should adapt well to connection - oriented protocol needs 其灵活性和对mime根深蒂固的支持意味着它应该很好地适合面向连接的协议需求。