Remove comments
This commit is contained in:
parent
8a65e020fd
commit
97a58e51ee
4
dns.c
4
dns.c
|
@ -41,8 +41,8 @@ open_dns()
|
|||
|
||||
bzero(&addr, sizeof(addr));
|
||||
addr.sin_family = AF_INET;
|
||||
addr.sin_port = htons(0); // choose an available port
|
||||
addr.sin_addr.s_addr = htonl(INADDR_ANY);// listen on 0.0.0.0
|
||||
addr.sin_port = htons(0);
|
||||
addr.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||
|
||||
fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
if(fd < 0) {
|
||||
|
|
Loading…
Reference in New Issue