TCP Server IP ADDRESS

Hello all,

I have one question,I have created a TCP Server on my gsm module. But i want to restrict the acces to the server to only one ip. How can I find the ip of the client that has connected to my server?

Thank you,
Flavian

Hi Flavian,

Are you using WipLib?
How about wip_getOpts() with WIP_COPT_PEER_STRADDR?

Hope it helps.