Hello, everyone!
I'm using lwIP in a project together with CyaSSL DTLS (Datagram TLS -
it's an UPD connection) capabilities. I'm having a problem/issue with
the function 'getpeername()' of lwIP.
CyaSSL has a function that calls lwIP's getpeername() to retreive
information about the peer connection (IP address and connection port).
After some debugging, I noticed that after the call to 'getpeername()'
the port is correctly returned but the IP address is read zero.
The problem/issue is that without this IP address I cannot finish the
handshake necessary for CyaSSL to work correctly.
I need to know how I can fix this problem/issue ASAP (I'm in a tight
schedule here...).
By the way: I'm using lwIP version 1.5.0-git-2012124 (because I need
also IPv6 in this project. By the way, this DTLS connection is intended
to run over IPv6 but I noticed that 'getaddrinfo()' does not work with
IPv6 yet).
--
Cristóvão Zuppardo Rufino
Software and Firmware development specialist - FITec (Recife/Brazil)
Computer Engineer
MSc. Candidade in Systems engineering