krushnaal pai <[email protected]> writes:

> i created a kernel to kernel tcp socket
>
> sent 4096 bytes from server ,
>
> but in client on printing using %s it prints only 980 bytes
>
> can anyone plz tell me why its happening? 
>
> Am i missing anything?

Maybe byte 981, at offset 980, is the NUL character, '\0' ?

-- 
  Ed Cashin <[email protected]>
  Find experimental aoe Linux driver patches at
  http://coraid.typepad.com/aoe_linux_proving_grounds/


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to