Hello,
Is there a way to disconnect client ?
before then i disaconnect the spam the console, i will remove the user then he disconnect..
TCP Socket, Serer and Client.
i'm writeing a C Code
Thanks for helping me
Hello,
Is there a way to disconnect client ?
before then i disaconnect the spam the console, i will remove the user then he disconnect..
TCP Socket, Serer and Client.
i'm writeing a C Code
Thanks for helping me
Don't you just close() the client's socket, and the client goes away.
You don't receive any more messages, and the client starts getting errors when they send.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.