func (transport *Polling) Receive() (packet.Packet, error) {
	received, success := <-transport.received

	if !success {
		return packet.Packet{}, io.EOF
	}

	return received, nil
}
// Receive returns the last received packet or blocks until a packet is present
Receive returns the last received packet or blocks until a packet is present
// Receive returns the last received packet or blocks until a packet is present
func (transport *Polling) Receive() (packet.Packet, error) {
	received, success := <-transport.received
	if !success {
		return packet.Packet{}, io.EOF
	}
	return received, nil
}
func ( transport * Polling ) Receive ( ) ( packet . Packet , error ) { received , success := <- transport . received if ! success { return packet . Packet { } , io . EOF } return received , nil }
Receive returns the last received packet or blocks until a packet is present
Receive returns the last received packet or blocks until a packet is present