krushnaal pai <krisonearth@xxxxxxxxx> 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 <ecashin@xxxxxxxxxx> 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 ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ