June 21st
Funny Peculiar or Funny Ha Ha?
During my testing of the wifi_basic_application (version 1.7.2.2), I noticed an peculiarity with it and at the time thought nothing really about it.
Well this peculiarity as popped its head up in my project.
What I noticed is that when a socket is opened and bound, when data is received, the iReturnValue kept returning 5 no matter what I did.
Now this limitation prevents me from obtaining the number of bytes received for my application.
Upon perusal of the wifi_basic_application source code I think I noticed another commenting error.
The description for recvfrom() says that it returns a '1' for an error and the number of bytes if successful.
Well I'm guessing it should read '-1' for an error otherwise the function is not able to return a value on successful reception of a single byte.
I'll have to dig a little deeper and find the source of the problem.
I'll keep you posted on how I go.