Hello, I’m writing my own server, how do i split up and send data that’s bigger than 64k (for example a 3mb image).
Any already made implementation would be nice
Have you tried sending it on a fragmented channel?
Yes, but udp on it’s own can’t have more than 64k in one packet. Tried it and i get the same error. Unity’s fragmented channel only splits that packet into smaller ones afaik
Well, then I guess split it yourself? Split it into many messages and and assign each one a packet number. And maybe a unique id which is persistant over all the sub messages.
Then you can simply reconstruct it on the reciever.
Yes, and as i said, i’m looking for an implementation of that
Why don’t you do what developers do? Create implementations of concepts?
Because i’m asking here to not reinvent hot water
Well, it’s not something that is standardized. You need to come up with solutions that fit the problems of your title / project. I gave you one example of how to implement it.
pretysure sending data over the internet is something standardized…
Well, protocols etc are. But solutions that are more specific to your problem is not. There are solutions to this issue such as streams etc that libraries like NetworkComms use. But as for the Unet LLAPI, I don’t think there is anything like that implemented.
I am 99% sure i’m not the only person sending stuff over the udp that’s bigger than 65k. What i’m asking is, if there’s an already made library or unity implementation that i could use, instead of having to reinvent the wheel and do some manual syncing