Allow setting ip_type for TCP/UDP and HTTP classes

This commit is contained in:
Fabio Alessandrelli
2016-12-01 09:01:09 +01:00
parent c18c5013f8
commit a77a0118f6
10 changed files with 31 additions and 0 deletions

View File

@ -47,6 +47,7 @@ protected:
static void _bind_methods();
public:
virtual void set_ip_type(IP::Type p_type);
virtual Error listen(uint16_t p_port, const List<String> *p_accepted_hosts=NULL)=0;
virtual bool is_connection_available() const=0;
virtual Ref<StreamPeerTCP> take_connection()=0;