hai :) ,
am doing one project on that i want to block users by using there ip address plz anybody send sample code :confused: or tell any logic for this .plz reply soon
bye :WAVE:
Printable View
hai :) ,
am doing one project on that i want to block users by using there ip address plz anybody send sample code :confused: or tell any logic for this .plz reply soon
bye :WAVE:
You need to use the getInetAddress of the Socket class, all you need then to do
is to close that socket if it is one of the addresses that you wish to block.
This will disconnect them.