FindMTUDone Method
      
 

Description

Called when MTU calculation is completed.

Return Type

None  

Syntax

object.FindMTUDone Owner, MTU, ErrorCode, ErrorText

The FindMTUDone Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type IwodVPNNotify.
Owner A wodVPNCom object. Reference to the wodVPNCom instance that called this notification method.
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 method is called only if you have implemented the IwodVPNNotify interface in your application and the wodVPN1.Notification property has received a reference to an instance of your implementation.

This notification method is called 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.