I am using Socket Wrench 3.6 Freeware edition.
I tried following the tutorial without much success in .net so I read
teh documentation and decided I'll program my own little echo type
server and it shouldn't be too hard. Everything is fine except one
thing. When I try to program the read event it gives me teh following
error:
====
E:\Matt's Folder\VisualStudio_Projects\MattNet\Form1.vb(148):
Method 'Socket1_ReadEvent' cannot handle Event 'ReadEvent' because
they do not have the same signature.
====
the code for the sub is:
====
Private Sub Socket1_ReadEvent(ByVal DataLength As Integer, ByVal
sender As Object, ByVal e As
AxSocketWrenchCtrl._DSocketWrenchEvents_ReadEvent) Handles
Socket1.ReadEvent
Socket1.RecvLen = DataLength
Socket1.RecvData = Me.txtNews.Text
End Sub
====
Any Ideas?
I tried following the tutorial without much success in .net so I read
teh documentation and decided I'll program my own little echo type
server and it shouldn't be too hard. Everything is fine except one
thing. When I try to program the read event it gives me teh following
error:
====
E:\Matt's Folder\VisualStudio_Projects\MattNet\Form1.vb(148):
Method 'Socket1_ReadEvent' cannot handle Event 'ReadEvent' because
they do not have the same signature.
====
the code for the sub is:
====
Private Sub Socket1_ReadEvent(ByVal DataLength As Integer, ByVal
sender As Object, ByVal e As
AxSocketWrenchCtrl._DSocketWrenchEvents_ReadEvent) Handles
Socket1.ReadEvent
Socket1.RecvLen = DataLength
Socket1.RecvData = Me.txtNews.Text
End Sub
====
Any Ideas?