For the chapter 8 of the book "The Go Programming Language":

https://github.com/adonovan/gopl.io/tree/master/ch8/chat

The exercise 8.14 is about using names instead of network addresses to 
identify clients, and I'm having problem with how to implement it.

I searched for "answers/solutions" on the web, and found that *all* of them 
will prompt for keyboard input in the `handleConn` function, like this one:
https://github.com/mohno007/gopl/blob/master/ch08/ex14/chat.go

However, my understanding is that

- the chat will be running as a (single) service in one machine, and
- all clients (from the localnet) will be chatting with `netcat3`

IE, I don't see how different clients from different machines will be 
prompted for keyboard input if they start chatting with `netcat3`. Is my 
such understanding correct please? (and what's the proper way of doing it 
if so)

thanks





-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9b2e9693-4091-42c2-a43b-dcc73a13f2c2n%40googlegroups.com.

Reply via email to