stantonk / chat-server

Solving a fun toy networking problem to learn golang the hard way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chat-server

Learning go by implementing a classic programming problem and working my way haphazardly through Go by Example :).

I'm certain this is not idiomatic go, but someday it will be. I'm also certain this is suboptimal and buggy as hell, but I'm going for trial-by-fire learning here. Someday I'll turn this into a blog post...

to use

Build the server and start it

$  go build chatserver.go
$  ./chatserver

Open 1 or more terminals and connect using telnet:

$ telnet localhost 8080
Trying ::1...
Connected to localhost.
Escape character is '^]'.
hello!
[::1]:55360: hello!
echoooo
[::1]:55360: echoooo

About

Solving a fun toy networking problem to learn golang the hard way


Languages

Language:Go 100.0%