RE: euTcp4u bug

new topic     » topic index » view thread      » older message » newer message

Here is the fix:

tcp4u.ew:201
   while (len=0 and tmp != 0) or i<len do


Chris

Chris Bensler wrote:
> tcp4u_receive() doesn't handle null characters.
> 
> The string returned is always peeked as a 0-terminated string. I can't 
> receive a full data stream that contains nulls.
> 
> The actual routine itself is written correctly, but the peek_sequence() 
> routine is flawed. It catches nulls before len is reached.
> 
> Chris
> 
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu