mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 15:41:26 +00:00
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));
|
bzero(&addr, sizeof(addr));
|
||||||
addr.sin_family = AF_INET;
|
addr.sin_family = AF_INET;
|
||||||
addr.sin_port = htons(0); // choose an available port
|
addr.sin_port = htons(0);
|
||||||
addr.sin_addr.s_addr = htonl(INADDR_ANY);// listen on 0.0.0.0
|
addr.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||||
|
|
||||||
fd = socket(AF_INET, SOCK_DGRAM, 0);
|
fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||||
if(fd < 0) {
|
if(fd < 0) {
|
||||||
|
|
Loading…
Reference in a new issue