Searched refs:sockt (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | ctl.c | 60 int sockt; variable 73 sockt = socket(AF_INET, SOCK_STREAM, 0); in open_sockt() 75 if (sockt <= 0) { in open_sockt() 79 if (bind(sockt, (struct sockaddr *)&my_addr, sizeof (my_addr)) != 0) { in open_sockt() 85 if (getsockname(sockt, (struct sockaddr *)&my_addr, &length) == -1) { in open_sockt()
|
H A D | invite.c | 83 if (listen(sockt, 5) != 0) { in invite_remote() 105 while ((new_sockt = accept(sockt, 0, 0)) < 0) { in invite_remote() 114 close(sockt); in invite_remote() 115 sockt = new_sockt; in invite_remote()
|
H A D | io.c | 71 sockt_mask = (1<<sockt); in talk() 107 nb = read(sockt, buf, sizeof (buf)); in talk() 128 write(sockt, buf, nb); in talk()
|
H A D | look_up.c | 78 while (connect(sockt, (struct sockaddr *)&response.addr, in check_local() 90 close(sockt); in check_local()
|
H A D | init_disp.c | 141 cc = write(sockt, buf, sizeof (buf)); in set_edit_chars() 147 cc = read(sockt, buf, sizeof (buf)); in set_edit_chars()
|
H A D | talk.h | 60 extern int sockt;
|