|
-
Oct 9th, 2002, 11:08 AM
#1
Thread Starter
New Member
Data Arrival in winsock?
Hello folks! I don't get this at all! I'm using winsock and connecting to another server.... The code below doesn't get me anything My msgbox that says "hi" pops up so I know there routine is being executed, but I don't get anything in text1! Any ideas?
Private Sub AxWinsock1_DataArrival(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles AxWinsock1.DataArrival
Dim text1 As String
MsgBox("hi!")
AxWinsock1.GetData(text1)
MsgBox(text1)
End Sub
-
Oct 9th, 2002, 09:48 PM
#2
Addicted Member
Humm, winsock is a bit touch in vb.net at best, would recomend using the sockets class. What type of connection are you trying to use.
Jeremy
-
Oct 9th, 2002, 10:17 PM
#3
Thread Starter
New Member
Hello! I'm trying to connect to a mail server, and eventually be able to download email!
-
Oct 9th, 2002, 11:12 PM
#4
Addicted Member
I would look through the tcp listeners that have discussed here, I think somone made a class that works in vb.net.
Jeremy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|