Searched refs:port (Results 1 – 11 of 11) sorted by relevance
/libuv/test/ |
H A D | test-getnameinfo.c | 31 static const int port = 80; variable 56 r = uv_ip4_addr(address_ip4, port, &addr4); in TEST_IMPL() 79 ASSERT_OK(uv_ip4_addr(address_ip4, port, &addr4)); in TEST_IMPL() 102 r = uv_ip6_addr(address_ip6, port, &addr6); in TEST_IMPL()
|
H A D | echo-server.c | 251 static int tcp4_echo_start(int port) { in tcp4_echo_start() argument 255 ASSERT_OK(uv_ip4_addr("127.0.0.1", port, &addr)); in tcp4_echo_start() 285 static int tcp6_echo_start(int port) { in tcp6_echo_start() argument 289 ASSERT_OK(uv_ip6_addr("::1", port, &addr6)); in tcp6_echo_start() 320 static int udp4_echo_start(int port) { in udp4_echo_start() argument 324 ASSERT_OK(uv_ip4_addr("127.0.0.1", port, &addr)); in udp4_echo_start()
|
/libuv/docs/src/ |
H A D | udp.rst | 70 * processes that are binding to the same address and port "share" 71 * the port, which means incoming datagrams are distributed across 194 Bind the UDP handle to an IP address and port. 200 with the address and port to bind to. 223 Associate the UDP handle to a remote address and port, so every 234 with the address and port to associate to. 242 Get the remote IP and port of the UDP handle on connected UDP handles. 261 Get the local IP and port of the UDP handle. 379 (the "all interfaces" IPv4 address) and a random port number. 401 address and port of the remote peer. [all …]
|
H A D | tcp.rst | 31 * or threads if they all set SO_REUSEPORT before binding the port. 106 Bind the handle to an address and port. 108 When the port is already taken, you can expect to see an ``UV_EADDRINUSE``
|
H A D | misc.rst | 428 .. c:function:: int uv_ip4_addr(const char* ip, int port, struct sockaddr_in* addr) 432 .. c:function:: int uv_ip6_addr(const char* ip, int port, struct sockaddr_in6* addr)
|
/libuv/docs/src/guide/ |
H A D | networking.rst | 47 a human readable IP address, port pair to the sockaddr_in structure required by 108 You will have to run `udp-dhcp` as **root** since it uses well known port 122 will be sent to all interfaces on the subnet. port ``0`` means that the OS 123 randomly assigns a port. 125 First we setup the receiving socket to bind on all interfaces on port 68 (DHCP 128 other system DHCP clients that are running on this computer on the same port. 130 a *broadcast message* on port 67 (DHCP server).
|
H A D | utilities.rst | 150 int port; 162 baton->port = 21;
|
/libuv/src/ |
H A D | uv-common.c | 254 int uv_ip4_addr(const char* ip, int port, struct sockaddr_in* addr) { in uv_ip4_addr() argument 257 addr->sin_port = htons(port); in uv_ip4_addr() 265 int uv_ip6_addr(const char* ip, int port, struct sockaddr_in6* addr) { in uv_ip6_addr() argument 272 addr->sin6_port = htons(port); in uv_ip6_addr()
|
/libuv/include/ |
H A D | uv.h | 1764 UV_EXTERN int uv_ip4_addr(const char* ip, int port, struct sockaddr_in* addr); 1765 UV_EXTERN int uv_ip6_addr(const char* ip, int port, struct sockaddr_in6* addr);
|
/libuv/m4/ |
H A D | ax_pthread.m4 | 158 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
/libuv/ |
H A D | ChangeLog | 1479 * tcp: fail instantly if local port is unbound (Bartosz Sosnowski) 4517 * test: back-port uv_loop_configure() test (Ben Noordhuis) 5417 * linux: fix up SO_REUSEPORT back-port (Ben Noordhuis) 5442 * linux: fix up SO_REUSEPORT back-port (Ben Noordhuis)
|
Completed in 47 milliseconds