You can get the IP address that the server sends it response packets to. Often this is the IP address of the client computer, but it doesn't have to be:
- IPv4 NAT devices (often used by corporate networks) hides the client's IP address and exposes an address of the NAT device instead.
- 6-to-4 translation. If the client is a native IPv6-only client your IPv4 server will see the IPv4 address of the 6-to-4 gateway that provides IPv4 connectivity.
- Proxies where the client isn't directly connected to the Internet, but rather connects to a proxy server that performs requests on behalf of the server. In this case the server will see the proxy servers address.
If you need the IP address of the client computer, the client will have to send that as data to the server. Please note that there is no guarantee that the address you receive this way is the real one. Even if it is the real one, it cannot be guaranteed to be unique (many corporate networks use addresses in the 192.168.X.X series reserved for internal use). There is also no very likely that you won't be able to connect to the client on it's internal address.