Lines Matching defs:address
34 /* Prepare the listen address stuff */
38 /* Bind to the required port/address/interface */
63 /* Prepare the connection address stuff */
81 int ip_parse_address(const char *address, const char **parsed_ip,
87 const char *ptr = strstr(address, ":");
95 ptr = address;
98 if((ptr - address) > 255)
101 memcpy(buf, address, ptr - address);
120 int ip_create_listener(const char *address)
125 if(!ip_parse_address(address, &ip, &port, 1))
130 int ip_create_connection(const char *address)
135 if(!ip_parse_address(address, &ip, &port, 0))