Changeset 348 for pjproject/trunk/pjlib/src/pj/sock_bsd.c
- Timestamp:
- Mar 22, 2006 11:48:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r338 r348 186 186 187 187 /* 188 * Convert address string with numbers and dots to binary IP address. 189 */ 190 PJ_DEF(pj_in_addr) pj_inet_addr2(const char *cp) 191 { 192 pj_str_t str = pj_str((char*)cp); 193 return pj_inet_addr(&str); 194 } 195 196 /* 188 197 * Set the IP address of an IP socket address from string address, 189 198 * with resolving the host if necessary. The string address may be in a
Note: See TracChangeset
for help on using the changeset viewer.