mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05: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