FindMTUDone Event
    
 

Description

Fires when MTU calculation is completed.

Syntax

Private Sub object_FindMTUDone(MTU, ErrorCode, ErrorText)

The FindMTUDone Event syntax has these parts:

PartDescription
objectA wodVPN object.
MTUA Long value. Calculated maximum MTU size.
ErrorCodeA Long value. Holds error value that occurred. 0 if no errors.
ErrorTextA String value. Text description of the error.

Remarks

This event fires as result of FindMTU method call, after wodVPN has completed calculating MTU (Maximum Transfer Unit) value between local and remote peer. If no error occurred, you can use this property by setting it into MTU property.

Please note that even error has occurred, MTU argument can still contain largest packet size that was sent successfully to remote side.