Asked by Wilson Edwards
at 2026-06-18 01:15:59
Point:500 Replies:2 POST_ID:829424USER_ID:12108
Topic:
C;socket;SSL
we used socket for http site then set int socket variable
and find memory address of socket from &socket.
now we switched to use openssl socket for SSL https, and define socket
by SSL * socket.
we tried to find memory address of SSL socket for https
using operator of & , but got wrong address
printf("======%d",&socket)
How to get correct memory address of socket for SSL https ?