I am currently going over beej's tutorial for network programming. I wanted to clarify a few things ?
1) Can multiple writes/sends result in a single receive/read ? and the other way round? So does that mean , we need to have some sort of a protocol wrapper over tcp ?
2) Is there any problem sending structures over two similar systems? Or is TCP suited only for stream data ? i.e it does mention problems sending floats ,ints etc... but shouldnt that be between two different systems (little/big endian)?