open_socket
static int open_socket __P((char *));
int fd = open_socket(pty_socket);
rv = open_socket(groupp->tcp_port, &groupp->sockfd);