You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lidgren-network-gen3
Hello,
Using this for quite a while now. I'm wondering, is there a way to limit the maximum throughput of the network data?
Would be really helpful as I want to transfer larger files sometime and dont want to flood the entire uplink of the connection with that.
Greetings,
Ravior
Christopher Beamond
unread,
Jan 19, 2017, 9:57:32 AM1/19/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lidgren-network-gen3
You'd have to simply lower the amount of messages you're sending manually by setting a target figure, calculating how fast to transfer and then halting and/or queueing all outgoing messages past that. It'll have to be async, because you can't just queue the entire file since that means loading it all into memory and thier split messages. You'll also need to develop a technique to fairly distribute bandwidth between different message types, and a priority system wouldn't be bad either.