Mediator Connected Event Handler - WeOnlyDo Discussion board

Mediator Connected Event Handler (General questions)

by Lee Page, Tuesday, January 22, 2013, 12:24 (4109 days ago)

Hi,

I am using the trial version of WodVPN and have managed to get the mediator working with the following VB.NET code

[code]Imports WODVPNCOMLib

Public Class Form1
Inherits System.Windows.Forms.Form
Public WithEvents wodVPN1 As WODVPNCOMLib.wodVPNCom

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
wodVPN1 = New WODVPNCOMLib.wodVPNCom
wodVPN1.Mediator.Start(SearchEnum.SrchUDPSingle, 8000)
End Sub

Private Sub wodVPN1_MediatorConnected(ByVal IP As String, ByVal Port As Long, ByVal FromID As String, ByVal ToID As String, ByVal Data As String, ByVal Allow As Boolean)
MsgBox(FromID)
End Sub

End Class[/code]

The problem is that the Mediator Connected event does not seem to do anything i was expecting to see a messagebox popup with the FromID

Any ideas?

Thank [:wink:]

Re: Mediator Connected Event Handler

by woddrazen, Tuesday, January 22, 2013, 12:39 (4109 days ago) @ Lee Page

Hi Lee,


It works on our side without any problem. If you wish we can send you a sample.

You can send us email to techsupport@weonlydo.com and we will send you sample there.


Regards,
Drazen