You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename IP_Unix, IP_Address and TCP_Server to remove underscores
This commit is contained in:
@@ -52,7 +52,7 @@ protected:
|
||||
Ref<NetSocket> _sock;
|
||||
uint64_t timeout = 0;
|
||||
Status status = STATUS_NONE;
|
||||
IP_Address peer_host;
|
||||
IPAddress peer_host;
|
||||
uint16_t peer_port = 0;
|
||||
|
||||
Error _connect(const String &p_address, int p_port);
|
||||
@@ -63,12 +63,12 @@ protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
void accept_socket(Ref<NetSocket> p_sock, IP_Address p_host, uint16_t p_port);
|
||||
void accept_socket(Ref<NetSocket> p_sock, IPAddress p_host, uint16_t p_port);
|
||||
|
||||
Error bind(int p_port, const IP_Address &p_host);
|
||||
Error connect_to_host(const IP_Address &p_host, int p_port);
|
||||
Error bind(int p_port, const IPAddress &p_host);
|
||||
Error connect_to_host(const IPAddress &p_host, int p_port);
|
||||
bool is_connected_to_host() const;
|
||||
IP_Address get_connected_host() const;
|
||||
IPAddress get_connected_host() const;
|
||||
int get_connected_port() const;
|
||||
int get_local_port() const;
|
||||
void disconnect_from_host();
|
||||
|
||||
Reference in New Issue
Block a user