Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket Wrench

Status
Not open for further replies.

Cutty201

IS-IT--Management
Nov 10, 2003
28
0
0
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top