ziutek / telnet

Package to handle a telnet connection
Other
141 stars 60 forks source link

Telnet server demo (for your Go telnet lib) #1

Open mahan opened 11 years ago

mahan commented 11 years ago

Hi there,

I've written a server demo for your Golang telnet library.

I think it might provide a good additional starting point for your presumptive users if they want to understand quickly and get up and running fast.

Feel free to pull in my changes if you like them.

Best regards, /MattiasH

ziutek commented 11 years ago

Hmm... This package is designed for write telnet clients. Telnet protocol is symmetrical but real telnet server should actively negotiate some parameters for session. Your example code may suggest that this package can be used to write real servers, but really it work like client connected with other client. This can be misleading.