How to know the remote peer Ip address?


#1

I have developed a software for my modem Wavecom and I use this modem in server mode with no filtering of incoming remote Ip address. I use also the library “eDlib” to open my server in a socket Listen mode until a remote peer is connected. Is there a possibility, in my software code, to know the remote peer IP address ?

I have already tried with the function “ed_DialupGetIpInformations()” when I was in “WAITING_FOR_DATA” state, but the distant Ip address is always set to zero.