Lines Matching refs:address
164 /* Generic socket address structure. Note that for Unix
173 uint32_t address;
177 uint8_t address[16];
189 /* initialize a new IPv4 socket address, the IP address and port are
194 /* Initialize an IPv6 socket address, the address is in network order
201 /* Intialize a Unix socket address, this will copy the 'path' string into the
208 /* Finalize a socket address, only needed for now for Unix addresses */
213 /* return a static string describing the address */
222 /* return the port number of a given socket address, or -1 if it's a Unix one */
225 /* set the port number of a given socket address, don't do anything for Unix ones */
231 /* return the inet address, or -1 if it's not SOCKET_INET */
234 /* bufprint a socket address into a human-readable string */
237 /* resolve a hostname or decimal IPv4/IPv6 address into a socket address.
243 * ENOENT : no host with this name, or host doesn't have any IP address
272 * ENOENT : no host with this name, or host doesn't have IP address
286 * 'host' addresses the machine and must be resolvable into an IP address, and
295 * ENOENT : no host with this name, or host doesn't have IP address
369 int socket_connect( int fd, const SockAddress* address );
370 int socket_bind( int fd, const SockAddress* address );
371 int socket_get_address( int fd, SockAddress* address );
372 int socket_get_peer_address( int fd, SockAddress* address );
374 int socket_accept( int fd, SockAddress* address );