Mediator Connected Event Handler (General questions)
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:]
Complete thread:
- Mediator Connected Event Handler - Lee Page, 2013-01-22, 12:24
- Re: Mediator Connected Event Handler - woddrazen, 2013-01-22, 12:39