Problem with winsock conversion in vb2005
I am going mad.
Several day I am trying to convert the vb6 winsock code into vb2005 but now i am stuc. Can somebody help me with this.
I am trying to send commands to a Net PLC and instruct a machine to run
In VB6 the code is like this
Code:
Winsock1.RemoteHost = txtIP.Text
Winsock1.RemotePort = 10001
Winsock1.Connect()
Winsock1.SendData("@" & NO & DoTal & vbCr)
Winsock1.SendData("$" & NO & "6" & vbCr)
How do I do this in VB2005
can somebody give me a hand on this.
Would be verry gratefull
Re: Problem with winsock conversion in vb2005
Welcome to the forums. :wave:
Have a look at this.
Re: Problem with winsock conversion in vb2005
Bigg Thanks for welkoming me on the forum.
I gone take a look at this code.
Thank you for your quick answer
Re: Problem with winsock conversion in vb2005
No problem. When I was searching I found a few examples, but the one I posted looked the most promising.
Re: Problem with winsock conversion in vb2005
is there a way to do this with the system.net in VB2005?