Quote Originally Posted by jmcilhinney View Post
If you don't know how to handle events in C# then please start a new thread in the C# forum and keep this thread to questions on this topic specifically.
When a MessageServer object is implemented in C# your library throws a NullReferenceException at this line:

Code:
Protected Overridable Sub OnConnectionAccepted(ByVal e As ConnectionEventArgs)
        Me._synchronisingContext.Post(AddressOf RaiseConnectionAccepted, e)
End Sub
The error occurs when a client connects. I'm assuming the same error will occur for the rest of the event handlers.