You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #59582 from Faless/net/4.x_tcp_explicit_poll
This commit is contained in:
@@ -115,7 +115,7 @@ Error PacketPeerMbedDTLS::_do_handshake() {
|
||||
}
|
||||
|
||||
Error PacketPeerMbedDTLS::connect_to_peer(Ref<PacketPeerUDP> p_base, bool p_validate_certs, const String &p_for_hostname, Ref<X509Certificate> p_ca_certs) {
|
||||
ERR_FAIL_COND_V(!p_base.is_valid() || !p_base->is_connected_to_host(), ERR_INVALID_PARAMETER);
|
||||
ERR_FAIL_COND_V(!p_base.is_valid() || !p_base->is_socket_connected(), ERR_INVALID_PARAMETER);
|
||||
|
||||
base = p_base;
|
||||
int ret = 0;
|
||||
|
||||
Reference in New Issue
Block a user