ack

package
Version: v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2011 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acker

type Acker struct {
	// contains filtered or unexported fields
}

func Ackify

func Ackify(c Conn) (a *Acker)

func (*Acker) ReadFrom

func (a *Acker) ReadFrom() (data []byte, addr string, err os.Error)

func (*Acker) WriteTo

func (a *Acker) WriteTo(data []byte, addr string)

TODO add a "needAck bool" parameter

type Conn

type Conn interface {
	ReadFrom([]byte) (int, net.Addr, os.Error)
	WriteTo([]byte, net.Addr) (int, os.Error)
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL