Results 1 to 5 of 5

Thread: [RESOLVED] Best way to send data over the internet?

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    48

    Resolved [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

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    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.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    48

    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

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Best way to send data over the internet?

    First, have a look on MSDN. They have some good examples on there.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    48

    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
  •  



Click Here to Expand Forum to Full Width