Home
last modified time | relevance | path

Searched refs:sockt (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dctl.c62 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 Dinvite.c82 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 Dio.c73 sockt_mask = (1<<sockt); in talk()
109 nb = read(sockt, buf, sizeof (buf)); in talk()
130 write(sockt, buf, nb); in talk()
H A Dlook_up.c80 while (connect(sockt, (struct sockaddr *)&response.addr, in check_local()
92 close(sockt); in check_local()
H A Dinit_disp.c143 cc = write(sockt, buf, sizeof (buf)); in set_edit_chars()
149 cc = read(sockt, buf, sizeof (buf)); in set_edit_chars()
H A Dtalk.h62 extern int sockt;