ex13

command
v0.0.0-...-6fe4f4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 5 Imported by: 0

README

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().

Documentation

Overview

Chat is a server that lets clients chat with each other.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL