Searched refs:sockt (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | ctl.c | 62 int sockt; variable 75 sockt = socket(AF_INET, SOCK_STREAM, 0); in open_sockt() 77 if (sockt <= 0) { in open_sockt() 81 if (bind(sockt, (struct sockaddr *)&my_addr, sizeof (my_addr)) != 0) { in open_sockt() 87 if (getsockname(sockt, (struct sockaddr *)&my_addr, &length) == -1) { in open_sockt()
|
H A D | invite.c | 82 if (listen(sockt, 5) != 0) { in invite_remote() 104 while ((new_sockt = accept(sockt, 0, 0)) < 0) { in invite_remote() 113 close(sockt); in invite_remote() 114 sockt = new_sockt; in invite_remote()
|
H A D | io.c | 73 sockt_mask = (1<<sockt); in talk() 109 nb = read(sockt, buf, sizeof (buf)); in talk() 130 write(sockt, buf, nb); in talk()
|
H A D | look_up.c | 80 while (connect(sockt, (struct sockaddr *)&response.addr, in check_local() 92 close(sockt); in check_local()
|
H A D | init_disp.c | 143 cc = write(sockt, buf, sizeof (buf)); in set_edit_chars() 149 cc = read(sockt, buf, sizeof (buf)); in set_edit_chars()
|
H A D | talk.h | 62 extern int sockt;
|