I been trying to make my server reject ip’s that are already connected to system
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;
end;
end;
but don't seam to be able to get it working can sum one help please??
Thanks
--
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

Reply via email to