Menu

How to know the client's IPs from the server?

Help
palao
2005-12-05
2013-04-24
  • palao

    palao - 2005-12-05

    I need to know the IP of the clients that call my server. But I haven't found any method to do it. I have been searching in the code of the Chris Morley's libraries but I coudn't found any information about the client's IP or Host name.

    Any one can help me??

    Thanks!

     
    • Reinhard Dörner

      AFAIK client information is exchanged while accepting a connection using accept(). This is done in member XmlRpcSocket::accept().
      Information is hold in a local variable so it is not accessible outside this function.

      Hope that helps

       

Log in to post a comment.