Implemented resolver to replace sock_srv_lookup()
This commit is contained in:
@@ -30,7 +30,7 @@ void sock_shutdown(void);
|
||||
|
||||
int sock_error(void);
|
||||
|
||||
sock_t sock_connect(const char * const host, const unsigned int port);
|
||||
sock_t sock_connect(const char * const host, const unsigned short port);
|
||||
int sock_close(const sock_t sock);
|
||||
|
||||
int sock_set_blocking(const sock_t sock);
|
||||
@@ -41,8 +41,4 @@ int sock_is_recoverable(const int error);
|
||||
/* checks for an error after connect, return 0 if connect successful */
|
||||
int sock_connect_error(const sock_t sock);
|
||||
|
||||
int sock_srv_lookup(const char *service, const char *proto,
|
||||
const char *domain, char *resulttarget,
|
||||
int resulttargetlength, int *resultport);
|
||||
|
||||
#endif /* __LIBSTROPHE_SOCK_H__ */
|
||||
|
||||
Reference in New Issue
Block a user