summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5ae728a)
This will make more sense later.
exit(EXIT_FAILURE);
}
fdflags(fd, O_NONBLOCK, O_NONBLOCK, FD_CLOEXEC, FD_CLOEXEC);
exit(EXIT_FAILURE);
}
fdflags(fd, O_NONBLOCK, O_NONBLOCK, FD_CLOEXEC, FD_CLOEXEC);
- sel_initfile(&sel, &udpsock[i].sf, fd, SEL_READ, p_read, 0);
- sel_addfile(&udpsock[i].sf);
- T( trace(T_PEER, "peer: created %s socket", aftab[i].name); )
if (port)
udpsock[i].port = port;
else {
if (port)
udpsock[i].port = port;
else {
}
udpsock[i].port = lastport = getport(&a);
}
}
udpsock[i].port = lastport = getport(&a);
}
+ T( trace(T_PEER, "peer: created %s socket", aftab[i].name); )
+ sel_initfile(&sel, &udpsock[i].sf, fd, SEL_READ, p_read, 0);
+ sel_addfile(&udpsock[i].sf);