> I been trying to make my server reject ip’s that are already connected to
>for i := 0 to (SocketServer.ClientCount -1) do begin
> if (SocketServer.Client[i].GetPeerAddr = rSocket.GetPeerAddr) AND
> (SocketServer.Client[i].Handle <> rSocket.Handle) then begin
> // send message to client Exit;
> but don't seam to be able to get it working can sum one help please??
You should tell what is not working. Your code is partial, but at first looks
You should be aware of proxies and NAT routers. If two computer are behind the
same proxy or NAT router, they will have the same IP.
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be