Re: reading network data



Ender wrote:

.... snip ...

So here's my question, if I send unencrypted numbers across the
wire, that's exactly what I should see in my read() buffer on the
other side, correct?

According to the code you posted, the error is in line 42. You
also failed to include attributions for the material you quoted.
Those are the initial lines of the form "whozits wrote:".

--
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>
Try the download section.



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Bounds checking functions
    ... I guess if you do have a fixed size buffer, then yes, you want to be ... "I won't write correct code anyway, so I'll be as careless as I like". ... saying that nobody's perfect, though. ...
    (comp.lang.c)
  • Re: "Sorting" assignment
    ... The next optimization step is not to use a "buffer". ... I have deliberately used "extempore untested C based pseudo code" ... because given the utter randomness of C libraries, ...
    (comp.programming)
  • Re: track positions in arrays= index variables || pointers to elements?
    ... > and it holds an address of a member of the buffer. ... > It's type is unrelated to the type of the array. ...
    (comp.lang.c)
  • Re: Cryptographic Exception - Bad Data (DESCryptoServiceProvider)
    ... The hash algorithm processes the stream in 8 byte pieces as follows ... > intentional) and store the result in the buffer ... I take the following sample data from FIPS 113 ...
    (microsoft.public.dotnet.framework)
  • Re: Endless loop question
    ... > actually turn this while loop into an endless loop instead of waiting ... This reads a character but doesn't do anything with it, ... into a buffer with fgets, and then pick the desired data value ...
    (comp.lang.c)