Documentation
¶
Overview ¶
Package telnet provides a method of connecting to Winlink CMS over tcp ("telnet-mode")
Index ¶
- Constants
- Variables
- func Dial(addr, mycall, password string) (net.Conn, error)
- func DialCMS(mycall string) (net.Conn, error)
- func DialContext(ctx context.Context, addr, mycall, password string) (net.Conn, error)
- func DialTimeout(addr, mycall, password string, timeout time.Duration) (net.Conn, error)
- func Listen(addr string) (ln net.Listener, err error)
- type Conn
- type Dialer
- Bugs
Constants ¶
View Source
const ( CMSTargetCall = "wl2k" CMSPassword = "CMSTelnet" CMSAddress = "server.winlink.org:8772" )
Variables ¶
View Source
var DefaultDialer = &Dialer{Timeout: 30 * time.Second}
Functions ¶
func DialCMS ¶
DialCMS dials a random CMS server through server.winlink.org.
The function will retry 4 times before giving up and returning an error.
func DialContext ¶ added in v0.10.0
func DialTimeout ¶ added in v0.7.0
Types ¶
type Conn ¶
func (Conn) RemoteCall ¶
Notes ¶
Bugs ¶
Password is discarded and not supported yet.
Click to show internal directories.
Click to hide internal directories.