RE: tcp4u
- Posted by Robert Szalay <robsz1 at hotpop.com> Aug 12, 2003
- 493 views
> Then sock_recieve[tcp4u_ret] is actually a 10 !!! There is NO >return > code 10 !!! There is a very simple explenation for this. The returned value is *NOT* a return code. It is the number of bytes that were received. If.. sock_receive = tcp4u_receive(sock, 93, 1) Then sock_recieve[tcp4u_ret] = 93 Which means it sucessfully received 93 bytes of data. Otherwise, it did not receive all 93 bytes of data. Regards, Robert Szalay