libp2p / go-libp2p-examples

Example libp2p applications
MIT License
339 stars 145 forks source link

files > 10mb throws error #65

Open jeshocarmel opened 5 years ago

jeshocarmel commented 5 years ago

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