JanHenryNystrom / jhn_stdlib

A few thought experiments solidified as code.
Apache License 2.0
19 stars 8 forks source link

Socket close in example code #12

Closed dave7373 closed 11 years ago

dave7373 commented 11 years ago

If I use lazy:tcp_to_data(HostName, Port) and after a while I have finished my reading of data, how do I close the tcp socket? I can't see that the close is done in the current version of the example code.

JanHenryNystrom commented 11 years ago

Closed by #13