cyprus106
Programmer
- Apr 30, 2001
- 654
Does anyone know how to detect or find out if a socket connection is on a LAN or not? I have created a program with the ClientSocket and ServerSocket components. The application is designed for use over a LAN, (network) but I've found that anybody can simply call the server from wherever, (basically, outside of the network) and go about their business quite freely. This is a very bad thing for my product. I need my server to be able to detect if the incoming client connection is on a LAN or the internet. I can probably do this by checking IPs or something, but I don't know. Does anybody else??
Thanks, Cyprus
Thanks, Cyprus