PDA

View Full Version : Get IP from client



ruben.rodrigues
28th June 2010, 13:53
Hi!

I would like to know if it is possible to get the ip from the client that is connected to the server.

I though that was the property Qtcpsocket->IPv4Protocol but it didn't work for me.

Thank you

wirasto
28th June 2010, 14:05
peerAddress().toString()

ruben.rodrigues
28th June 2010, 14:07
peerAddress().toString()

If my english didn't suck I would get that right. Thank you!