Merge pull request #59582 from Faless/net/4.x_tcp_explicit_poll
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
Returns whether this [PacketPeerUDP] is bound to an address and can receive packets.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_connected_to_host" qualifiers="const">
|
||||
<method name="is_socket_connected" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the UDP socket is open and has been connected to a remote address. See [method connect_to_host].
|
||||
|
||||
@@ -51,16 +51,16 @@
|
||||
Returns the local port to which this peer is bound.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_status">
|
||||
<method name="get_status" qualifiers="const">
|
||||
<return type="int" enum="StreamPeerTCP.Status" />
|
||||
<description>
|
||||
Returns the status of the connection, see [enum Status].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_connected_to_host" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<method name="poll">
|
||||
<return type="int" enum="Error" />
|
||||
<description>
|
||||
Returns [code]true[/code] if this peer is currently connected or is connecting to a host, [code]false[/code] otherwise.
|
||||
Poll the socket, updating its state. See [method get_status].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_no_delay">
|
||||
|
||||
Reference in New Issue
Block a user