Re: Clear TCP receive buffer
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
I don't have DC 9.62 handy to check, but is it possible that sock_fastread() will accept NULL for the buffer parameter, to read from the socket without actually copying the data? -Tom On Nov 24, 2014, at 12:21 PM, seecwriter-/[email protected] [rabbit-semi] wrote: > I don't see a function that will clear the receive buffer of a tcp socket in the manual. Is there one, or do I have to read bytes until the buffer goes empty? I'm using DC 9.62.