Re: C++ TCP code differences Pi-3 to Pi-4?
toggle quoted messageShow quoted text
Change your use of accept to accept(localSocket, NULL,NULL); and remove all the client addr and len stuff.
I think you are getting stack garbage in your clilen parameter that is causing accept to fail. Since you are not using the return values just get rid of them.
On Wed, Sep 9, 2020 at 02:49 Larry K8UT <K8UT@...> wrote:
Thanks for the hints and suggestions. On a whim, I loaded a microSD card with the beta Raspberry Pi 64 bit OS and ... it works! Fearing my success was a fluke, I loaded/reloaded microSD cards with production 32 bit versions and beta 64 bit versions, inserting them in 2gb and 8gb Pi-4 hardware. Identical results in all tests: 32 bit platform fails at socket Accept stage; 64 bit succeeds.