-
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
-
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
-
Hello! I'm trying to connect to a mail server, and eventually be able to download email!
-
I would look through the tcp listeners that have discussed here, I think somone made a class that works in vb.net.
Jeremy