GetSocket
if (!GetSocket(la, port, &lnk->sockfd, lnk->link_type)) {
static u_short GetSocket(struct libalias *, u_short, int *, int);