Open shpasser opened 3 months ago
Hi! Unfortunately, there's no cross-platform way to retrieve the current MTU size, so nothing has been exposed by the plugin yet.
I'd be open to a pull request adding the feature for any platform that supports it however.
Is there a way to know
the current MTU size
of the Connection?In order to send long messages (greater than 20 bytes) I need to know the current MTU size, so I could split the messages into chunks of less or equal to the current MTU size and send them using
write()
orwriteWithoutResponse()
. Please advise on the matter. Thanks in advance.