Hi, I build a server an I want to get the IP-adress of a client that connect to the server. I tried this:
client = BIO_pop(acc); SOCKET buffer; BIO_get_fd(client, &buffer); sockaddr* peername = NULL; int namelen; getpeername(buffer, peername, &namelen); This code compiles an throws no error but the sockaddr struct ist filled with bad pointers. Can anyone help me to find my mistakes? Tank you very much. OSon ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]