func writeControl(writer *chain.ConnWriter, msg encoder) {
	chunk, err := msg.Encode()
	if err != nil {
		panic(err)
	}
	writer.Write(chunk)
}
// writeControl processes a single control message (SYNC or ACK).
// ok equals false if the connection is permanently broken and should be killed.
writeControl processes a single control message (SYNC or ACK).
ok equals false if the connection is permanently broken and should be killed.
// writeControl processes a single control message ( SYNC or ACK ) . // ok equals false if the connection is permanently broken and should be killed .
func writeControl(writer *chain.ConnWriter, msg encoder) {
	chunk, err := msg.Encode()
	if err != nil {
		panic(err)
	}
	writer.Write(chunk)
}
func writeControl ( writer * chain . ConnWriter , msg encoder ) { chunk , err := msg . Encode ( ) if err != nil { panic ( err ) } writer . Write ( chunk ) }
writeControl processes a single control message (SYNC or ACK).
writeControl processes a single control message ( SYNC or ACK ) .