Hello Gophers,

I programmed a server (A) that listens on 2 different ports, but I would 
like to change one of the ports to be sending the client's received 
requests to another server (B) so that when the server (B) replies the 
server (A) sends the answer to that specific client.

I got some issues with *goroutines and channels*

note: 
- We can have more than one client ( each client should only get what they 
sent )
- The comments in the codes show how I was thinking to do it.

Please help...

*code here: https://play.golang.org/p/ERvKIHfl_3A 
<https://play.golang.org/p/ERvKIHfl_3A>*

-- 
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/1a6c19b4-717e-4eeb-9636-7622659abd6e%40googlegroups.com.

Reply via email to