mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-18 17:14:24 -04:00
vlmcsd-svn818-2016-03-07-Hotbird64
This commit is contained in:
parent
1af203d2a8
commit
1c86f7a6bf
34 changed files with 145 additions and 87 deletions
|
@ -159,7 +159,7 @@ static int getDnsRawAnswer(const char *restrict query, unsigned char** receive_b
|
|||
char* querystring = (char*)alloca(strlen(query) + 12);
|
||||
strcpy(querystring, "_vlmcs._tcp");
|
||||
strcat(querystring, query);
|
||||
bytes_received = res_query(querystring, C_IN, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
bytes_received = res_query(querystring, ns_c_in, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
# endif
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue