Hi experts, this is my noob question
My client application has got a textbox on the form.
User will type the IP address in the textbox then click "Connect" button to connect to the server
The Computer is running "the Server application" and the computer is running "the Client Application" are on the same Local Area Network
My purpose : the server computer and client computer are on the same Local Area Network
So in the client application , how can the client application can dectect if the ip address which entered by the user is LAN IP or Internet IP
and in the server application , how can the server application can dectect if the ip address of the connection from client application is LAN IP or Internet IP