finished basic FPGARecv function