[RESOLVED] Best way to send data over the internet?
I am writing an app in VB 2008 express which I want to be able to send messages between as well as send commands. The messages will be simple text messages (basically IM). The commands will be coming from an xbox controller plugged into the pc and will be sent to the other pc then to the other xbox controller. (See my other thread http://www.vbforums.com/showthread.p...77#post3579077)
I have heard of Winsock in VB. Are there any alternatives or is this the best way of doing it? If so, what would you recommend?
Thanks
Chris
Re: Best way to send data over the internet?
Using the winsock component in VB.NET is not the best way of doing it - far from.
Take a look at the System.Net.Sockets namespace, it contains everything you will possibly need.
Re: Best way to send data over the internet?
Thanks Atheist, do you know any good tutorials on System.Net.Sockets as I have had a quick look around and can only find in depth code which doesnt help much considering I am new to both .NET and System.Net.Sockets
Thanks again
Re: Best way to send data over the internet?
First, have a look on MSDN. They have some good examples on there.
Re: Best way to send data over the internet?
I had a quick look there but didnt find anything that explained how to use it. Just code.
Is this the kinda thing I would need?
http://www.vbforums.com/showpost.php...24&postcount=2