|
-
Aug 9th, 2009, 06:20 AM
#1
Thread Starter
Member
[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
-
Aug 9th, 2009, 06:36 AM
#2
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.
-
Aug 9th, 2009, 07:38 AM
#3
Thread Starter
Member
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
-
Aug 9th, 2009, 09:14 AM
#4
Re: Best way to send data over the internet?
First, have a look on MSDN. They have some good examples on there.
-
Aug 9th, 2009, 03:04 PM
#5
Thread Starter
Member
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
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
|