http://www.vbforums.com/showthread.p...t=#post3852009
I'm just starting out with tcp on vb.net (2010 exp) and I'm having a heck of a time understanding how it all works. I sure do miss WinSock on VB6
ANyway, I found the above class and it looks promising but I can't figure out how to use it. Actually, I can't seem to get past declaring it (ugh, newbs!)
I tried
private withevents myConnection as easysocket = new easysocket
<later>
myConnection.Address = myTCPAddress.tostring
myConnection.Port = str(myPort)
myConnection.Connect
I just get object not set...
If anyone has experience with this I'd love to see a little sample!
Thanks
I'm just starting out with tcp on vb.net (2010 exp) and I'm having a heck of a time understanding how it all works. I sure do miss WinSock on VB6
ANyway, I found the above class and it looks promising but I can't figure out how to use it. Actually, I can't seem to get past declaring it (ugh, newbs!)
I tried
private withevents myConnection as easysocket = new easysocket
<later>
myConnection.Address = myTCPAddress.tostring
myConnection.Port = str(myPort)
myConnection.Connect
I just get object not set...
If anyone has experience with this I'd love to see a little sample!
Thanks