HomeSort by: relevance | last modified time | path
    Searched refs:Socket (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /src/external/mpl/bind/dist/bin/tests/system/
testsock6.pl 16 use IO::Socket::IP;
20 $sock = IO::Socket::IP->new(LocalAddr => $addr,
send.pl 20 use IO::Socket;
27 my $sock = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port,
ditch.pl 34 use IO::Socket;
80 my $sock = IO::Socket::INET->new(
testsock.pl 20 use Socket;
47 socket(SOCK, PF_INET, SOCK_STREAM, getprotobyname("tcp"))
48 or die "$0: socket: $!\n";
packet.pl 53 use IO::Socket;
135 $sock = IO::Socket::INET->new(PeerAddr => $addr, PeerPort => $port,
ans.pl 90 use IO::Socket;
96 # Ignore SIGPIPE so we won't fail if peer closes a TCP socket early
117 my $ctlsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
120 my $udpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
123 my $tcpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
  /src/share/doc/psd/20.ipctut/
dgramread.c 33 #include <sys/socket.h>
46 * This program creates a datagram socket, binds a name to it, then reads
47 * from the socket.
55 /* Create socket from which to read. */
56 sock = socket(AF_INET, SOCK_DGRAM, 0);
58 perror("opening datagram socket");
66 perror("binding datagram socket");
72 perror("getting socket name");
75 printf("Socket has port #%d\en", ntohs(name.sin_port));
76 /* Read from the socket */
    [all...]
strchkread.c 33 #include <sys/socket.h>
55 /* Create socket */
56 sock = socket(AF_INET, SOCK_STREAM, 0);
58 perror("opening stream socket");
61 /* Name socket using wildcards */
66 perror("binding stream socket");
72 perror("getting socket name");
75 printf("Socket has port #%d\en", ntohs(server.sin_port));
streamread.c 33 #include <sys/socket.h>
40 * This program creates a socket and then begins an infinite loop. Each time
55 /* Create socket */
56 sock = socket(AF_INET, SOCK_STREAM, 0);
58 perror("opening stream socket");
61 /* Name socket using wildcards */
66 perror("binding stream socket");
72 perror("getting socket name");
75 printf("Socket has port #%d\en", ntohs(server.sin_port));
96 * Since this program has an infinite loop, the socket "sock" i
    [all...]
ustreamread.c 33 #include <sys/socket.h>
37 #define NAME "socket"
40 * This program creates a socket in the UNIX domain and binds a name to it.
41 * After printing the socket's name it begins a loop. Each time through the
52 /* Create socket */
53 sock = socket(AF_UNIX, SOCK_STREAM, 0);
55 perror("opening stream socket");
58 /* Name socket using file system name */
62 perror("binding stream socket");
65 printf("Socket has name %s\en", server.sun_path)
    [all...]
  /src/sys/arch/hpc/stand/hpcboot/
file_http.h 38 class Socket {
41 SOCKET _socket;
43 explicit Socket(struct sockaddr_in &);
44 operator SOCKET() const { return _socket; }
45 virtual ~Socket(void);
61 // IP Socket
88 size_t _recv_buffer(SOCKET, char *, size_t);
file_http.cpp 129 SOCKET h;
166 h = socket(AF_INET, SOCK_STREAM, 0);
168 DPRINTF((TEXT("can't open socket. cause=%d\n"),
265 Socket sock(_sockaddr);
266 SOCKET h;
310 Socket sock(_sockaddr);
311 SOCKET h;
313 DPRINTF((TEXT("can't open socket.\n")));
362 HttpFile::_recv_buffer(SOCKET h, char *buf, size_t size)
387 Socket::Socket(struct sockaddr_in &sock
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/digdelv/ans6/
ans.pl 15 use IO::Socket;
22 my $sock = IO::Socket::INET->new(LocalAddr => "10.53.0.6",
70 IO::Socket::INET->new(LocalAddr => "10.53.1.2",
  /src/external/bsd/ntp/dist/scripts/lib/NTP/
Util.pm 16 require Socket;
17 if (version->parse($Socket::VERSION) >= version->parse(1.94)) {
18 Socket->import(qw(getaddrinfo getnameinfo SOCK_RAW AF_INET));
22 Socket->import(qw(inet_aton SOCK_RAW AF_INET));
  /src/external/mpl/bind/dist/bin/tests/system/tsiggss/
authsock.pl 18 use IO::Socket::UNIX;
37 my $server = IO::Socket::UNIX->new(Local => $path, Type => SOCK_STREAM, Listen => 8) or
38 die "unable to create socket $path";
  /src/external/mpl/bind/dist/bin/tests/system/digdelv/ans7/
ans.pl 15 use IO::Socket;
22 my $sock = IO::Socket::INET->new(LocalAddr => "10.53.0.7",
  /src/external/mpl/bind/dist/bin/tests/system/formerr/
formerr.pl 48 use IO::Socket;
85 my $sock = IO::Socket::INET->new(PeerAddr => $addr, PeerPort => $port,
  /src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
Threading.inc 252 // Finds the proper CPU socket where a thread number should go. Returns 'None'
253 // if the thread shall remain on the actual CPU socket.
257 // Only one CPU socket in the system or process affinity was set, no need to
258 // move the thread(s) to another CPU socket.
262 // We ask for less threads than there are hardware threads per CPU socket, no
272 // Assumes the same number of hardware threads per CPU socket.
276 // Assign the current thread to a more appropriate CPU socket or CPU group
279 Optional<unsigned> Socket = compute_cpu_socket(ThreadPoolNum);
280 if (!Socket)
284 Affinity.Group = Groups[*Socket].ID
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/digdelv/ans5/
ans.pl 17 # This server can be configured (through a separate control socket) with a
33 # Ignore SIGPIPE so we won't fail if peer closes a TCP socket early
49 my $ctlsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
52 my $tcpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
  /src/external/mpl/bind/dist/bin/tests/system/resolver/ans8/
ans.pl 15 use IO::Socket;
21 # Ignore SIGPIPE so we won't fail if peer closes a TCP socket early
32 my $udpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
34 my $tcpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
  /src/external/bsd/nvi/dist/dist/ExtUtils/
Embed.pm 305 perl -MExtUtils::Embed -e xsinit -- -o xsinit.c Socket
308 This will generate code with an B<xs_init> function that glues the perl B<Socket::bootstrap> function
349 For example, when looking for B<Socket.a> relative to a search path,
350 we should find B<auto/Socket/Socket.a>
397 perl -MExtUtils::Embed -e ldopts -- -std Socket
400 This will do the same as the above example, along with printing additional arguments for linking with the B<Socket> extension.
  /src/external/mpl/bind/dist/bin/tests/system/resolver/ans3/
ans.pl 19 use IO::Socket;
23 # Ignore SIGPIPE so we won't fail if peer closes a TCP socket early
34 my $udpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
36 my $tcpsock = IO::Socket::INET->new(LocalAddr => "$server_addr",
  /src/sys/external/bsd/gnu-efi/dist/inc/
libsmbios.h 117 UINT8 Socket;
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
socket.d 4 // E.g.: dmd -version=StdUnittest -debug=std_socket -unittest -main -run socket
10 socket.d 1.4
17 * Socket primitives.
22 * Source: $(PHOBOSSRC std/socket.d)
25 module std.socket;
54 enum socket_t : SOCKET { INVALID_SOCKET }
80 import core.sys.posix.sys.socket;
85 private alias _clinger = core.sys.posix.sys.socket.linger;
106 static assert(0, "No socket support for this platform yet.");
122 writefln("Ignoring std.socket(%d) test failure (likely caused by flaky environment): %s", line, e.msg)
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/reclimit/ans2/
ans.pl 18 use IO::Socket;
30 my $udpsock = IO::Socket::INET->new(LocalAddr => "$localaddr",

Completed in 32 milliseconds

1 2 3