Re: euTcp4u bug
- Posted by Greg Haberek <ghaberek at gmail.com> Dec 05, 2004
- 436 views
> Otherwise, this function, when successful, returns the number of bytes > received instead of the return code in ret. I'm using euTcp4u in one of my current projects. In my opinion, this is how it is supposed to act. All error codes are negative values, so if your call to tcp4u_reveive() failed, then ret would be negative, if it succeeded, then ret would be positive (number of bytes). ~Greg