第四页 回音室

by Brian Slesinsky

现在我们已积累了足够的素材来编写第一个交谈服务器。但通过这个产品交谈可不那么有趣,除非你喜欢自言自语——无论你说什么,它都会反馈给你自己。但是它说明了如何将接口和select( ) 相结合生成一个在同一时刻可做多件事的服务器。这是源程序。

Page 1: How to Write a Chat Server
Page 2: Socket Programming the Easy Way
Page 3: We Don?/FONT>t Wait for Nobody
Page 4: The Echo Chamber
Page 5: Now Broadcasting
Page 6: Keeping Track of Where You Were
Page 7: What?/FONT>s Left?


Brian Slesinsky is a former HotWired engineer. He left the company to work full-time on his death ray.