http upgrade and connections use non blocking sockets
This commit is contained in:
@ -24,9 +24,6 @@ namespace ix
|
||||
Socket();
|
||||
virtual ~Socket();
|
||||
|
||||
int hostname_connect(const std::string& hostname,
|
||||
int port,
|
||||
std::string& errMsg);
|
||||
void configure();
|
||||
|
||||
virtual void poll(const OnPollCallback& onPollCallback);
|
||||
@ -54,9 +51,6 @@ namespace ix
|
||||
EventFd _eventfd;
|
||||
|
||||
private:
|
||||
bool connectToAddress(const struct addrinfo *address,
|
||||
int& sockfd,
|
||||
std::string& errMsg);
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user