We must first evacuate my hovercraft of eels using Java
You must first have enough levels in unnarmed fighting to use the C++ Kicks.
dafuk i read?
ok, i'll suppose you have implemented a server-client system and now you want to kick a client, then you just have to close the socket used to communicate with that client ([URL="http://msdn.microsoft.com/en-us/library/windows/desktop/ms737582(v=vs.85).aspx"]closesocket[/URL]).
It would be better if you send a packet to that client informing about the kick, so that it can't be apreciated as a connection error.
If you don't want that ip to reconnect, you can ignore it's incoming connection request, just using the second parameter of accept function([URL="http://msdn.microsoft.com/en-us/library/windows/desktop/ms737526(v=vs.85).aspx"]accept[/URL]) to get client's ip.
this may not answer your question, try to be more clear.
Sorry, you need to Log In to post a reply to this thread.