Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 25 of 72) sorted by relevance

123

/mirbsd/src/share/doc/psd/20.ipctut/
Dsocketpair.c48 int sockets[2], child;
51 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) {
59 close(sockets[0]);
60 if (read(sockets[1], buf, 1024, 0) < 0)
63 if (write(sockets[1], DATA2, sizeof(DATA2)) < 0)
65 close(sockets[1]);
67 close(sockets[1]);
68 if (write(sockets[0], DATA1, sizeof(DATA1)) < 0)
70 if (read(sockets[0], buf, 1024, 0) < 0)
73 close(sockets[0]);
Dpipe.c46 int sockets[2], child;
49 if (pipe(sockets) < 0) {
60 close(sockets[1]);
61 if (read(sockets[0], buf, 1024) < 0)
64 close(sockets[0]);
67 close(sockets[0]);
68 if (write(sockets[1], DATA, sizeof(DATA)) < 0)
70 close(sockets[1]);
/mirbsd/src/usr.bin/ssh/
Dssh-agent.c90 SocketEntry *sockets = NULL; variable
817 if (sockets[i].type == AUTH_UNUSED) { in new_socket()
818 sockets[i].fd = fd; in new_socket()
819 buffer_init(&sockets[i].input); in new_socket()
820 buffer_init(&sockets[i].output); in new_socket()
821 buffer_init(&sockets[i].request); in new_socket()
822 sockets[i].type = type; in new_socket()
827 sockets = xrealloc(sockets, new_alloc, sizeof(sockets[0])); in new_socket()
829 sockets[i].type = AUTH_UNUSED; in new_socket()
831 sockets[old_alloc].fd = fd; in new_socket()
[all …]
/mirbsd/src/sys/arch/sparc/stand/common/
Dnetif_sun.c67 struct iodesc sockets[SOPEN_MAX]; variable
76 return (sockets);
87 io = sockets;
118 io = &sockets[fd];
/mirbsd/src/sys/lib/libsa/
Dnetif.c47 struct iodesc sockets[SOPEN_MAX]; variable
274 return (&sockets[sock]);
285 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) in netif_open()
315 netif_detach(sockets[sock].io_netif); in netif_close()
316 sockets[sock].io_netif = (struct netif *)0; in netif_close()
Dnet.h92 extern struct iodesc sockets[SOPEN_MAX];
/mirbsd/src/gnu/usr.bin/perl/lib/Net/Ping/t/
D450_service.t55 # Make sure the sockets are listening on different ports.
124 # No more sockets?
145 # No more sockets?
167 # No more good sockets?
187 # No sockets should have service on
/mirbsd/src/sys/net/
Draw_usrreq.c74 int sockets = 0; in raw_input() local
116 sockets++; in raw_input()
128 sockets++; in raw_input()
/mirbsd/src/lib/libssl/src/doc/ssl/
DSSL_state_string.pod29 When using non-blocking sockets, the function call performing the handshake
33 For both blocking or non-blocking sockets, the details state information
/mirbsd/src/gnu/usr.bin/cvs/m4/
Dsockpfaf.m416 AC_MSG_CHECKING(for IPv4 sockets)
28 AC_MSG_CHECKING(for IPv6 sockets)
/mirbsd/src/gnu/usr.bin/perl/
Dutil.c4175 int sockets[2] = {-1, -1}; local
4185 sockets[i] = PerlSock_socket(AF_INET, SOCK_DGRAM, PF_INET);
4186 if (sockets[i] == -1)
4192 if (PerlSock_bind(sockets[i], (struct sockaddr *) &addresses[i],
4201 if (PerlSock_getsockname(sockets[i], (struct sockaddr *) &addresses[i],
4207 if (PerlSock_connect(sockets[!i], (struct sockaddr *) &addresses[i],
4221 got = PerlLIO_write(sockets[i], &port, sizeof(port));
4241 int max = sockets[1] > sockets[0] ? sockets[1] : sockets[0];
4245 FD_SET(sockets[0], &rset);
4246 FD_SET(sockets[1], &rset);
[all …]
DREADME.epoc74 sockets. This may change iff epocemx supports sockets.
DREADME.vms231 automatically (it takes DEC C over Gnu C, DEC C sockets over SOCKETSHR
232 sockets, and either over no sockets). Some options can be given
276 Perl includes a number of functions for IP sockets, which are available if
287 UDP sockets when used with Multinet, though, so you should be aware of
DREADME.dos96 sockets
/mirbsd/src/lib/libssl/src/doc/crypto/
DBIO_s_socket.pod43 platforms sockets are not file descriptors and use distinct I/O routines,
DBIO_read.pod45 One technique sometimes used with blocking sockets is to use a system call
DBIO_s_accept.pod85 BIO_BIND_REUSEADDR is set then other sockets can bind to the
/mirbsd/src/gnu/usr.bin/perl/pod/
Dperlipc.pod3 perlipc - Perl interprocess communication (signals, fifos, pipes, safe subprocesses, sockets, and s…
775 sockets on your system, in which case this section probably isn't going to do
776 you much good. With sockets, you can do both virtual circuits (i.e., TCP
780 The Perl function calls for dealing with sockets have the same names as
814 Use Internet-domain sockets when you want to do client-server
817 Here's a sample TCP client using Internet-domain sockets:
1023 want to. Unix-domain sockets are local to the current host, and are often
1024 used internally to implement pipes. Unlike Internet domain sockets, Unix
1025 domain sockets can show up in the file system with an ls(1) listing.
1052 network terminators here because Unix domain sockets are guaranteed
[all …]
Dperl582delta.pod103 Bugs in OS/2 sockets and tmpfile have been fixed.
Dperlopentut.pod656 symbolic links, named pipes, Unix-domain sockets, and block and character
701 Unix-domain sockets are rather different beasts as well; they're
723 sockets, you can set them to be non-blocking using C<fcntl>:
742 What else can you open? To open a connection using sockets, you won't use
764 backwards to avoid nasty problems. On such infelicitous systems, sockets
Dperl584delta.pod117 There is experimental support for Linux abstract Unix domain sockets.
Dperl587delta.pod233 the use of ICMP sockets to fail.)
Dperl572delta.pod607 test attempts to create and connect to "multihomed" sockets (sockets
/mirbsd/src/gnu/usr.sbin/sendmail/
DKNOWNBUGS112 this. It is likely to be a glitch in the sockets emulation, since
118 in the sockets emulation. (Errno 22 is EINVAL "Invalid Argument"
/mirbsd/src/lib/libssl/src/
DREADME74 sockets, socket accept, socket connect, memory buffer, buffering, SSL

123