mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename IP_Unix, IP_Address and TCP_Server to remove underscores
This commit is contained in:
parent
758bccf364
commit
3f078c99f6
60 changed files with 253 additions and 253 deletions
|
|
@ -160,7 +160,7 @@ Error WSLClient::connect_to_host(String p_host, String p_path, uint16_t p_port,
|
|||
ERR_FAIL_COND_V(_connection.is_valid(), ERR_ALREADY_IN_USE);
|
||||
|
||||
_peer = Ref<WSLPeer>(memnew(WSLPeer));
|
||||
IP_Address addr;
|
||||
IPAddress addr;
|
||||
|
||||
if (!p_host.is_valid_ip_address()) {
|
||||
addr = IP::get_singleton()->resolve_hostname(p_host);
|
||||
|
|
@ -316,8 +316,8 @@ void WSLClient::disconnect_from_host(int p_code, String p_reason) {
|
|||
_resp_pos = 0;
|
||||
}
|
||||
|
||||
IP_Address WSLClient::get_connected_host() const {
|
||||
ERR_FAIL_COND_V(!_peer->is_connected_to_host(), IP_Address());
|
||||
IPAddress WSLClient::get_connected_host() const {
|
||||
ERR_FAIL_COND_V(!_peer->is_connected_to_host(), IPAddress());
|
||||
return _peer->get_connected_host();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue