Skip to content

Latest commit

 

History

History
 
 

ex8.13

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Exercise 8.13 (P156)

Make the chat server disconnect idle clients, such as those that have sent no messages in the last fine minutes.

Hint: calling conn.Close() in another goroutine unblocks active Read calls such as the one done by input.Scan().