GetSocket
static u_short GetSocket(u_short, int *, int);
if (GetSocket(port_net, &link->sockfd, link->link_type))