go-libp2p-examples
go-libp2p-examples copied to clipboard
files > 10mb throws error
I'm using protocol buffers to transfer a file through inet.Stream. Any files < 9mb are successfully being sent and received on the other end. If I send a file > 9mb they throw an error write tcp4 10.141.13.74:4001->10.141.13.74:4002: write: protocol wrong type for socket
or write tcp4 10.141.12.222:4001->10.141.12.222:4002: write: broken pipe
Is this a tcp limitation? Any alternative approach to transfer files through inet.Stream. Thanks