Get IP from the connected client. Check if the IP is an accepted IP and if it's an accepted/allowed IP then start sending datta etc. if not, just disconnect the socket. Rickard Andersson Here is my card, contact me later! UIN: 50302279 Sonork: 37318 Interests: C++, ADO, SQL, Winsock, 0s and 1s