Changeset 3000 for pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
- Timestamp:
- Nov 9, 2009 1:40:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
r2998 r3000 2090 2090 status = pj_sock_getsockname(ssock->sock, &ssock->local_addr, 2091 2091 &ssock->addr_len); 2092 if (status != PJ_SUCCESS) 2093 pj_sockaddr_cp(&ssock->local_addr, localaddr); 2092 /* Note that we may not get an IP address here. This can 2093 * happen for example on Windows, where getsockname() 2094 * would return 0.0.0.0 if socket has just started the 2095 * async connect. In this case, just leave the local 2096 * address with 0.0.0.0 for now; it will be updated 2097 * once the socket is established. 2098 */ 2094 2099 2095 2100 /* Set remote address */
Note: See TracChangeset
for help on using the changeset viewer.