Results 1 to 8 of 8

Thread: VB.net interact with web

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    26

    VB.net interact with web

    I'm writing a simple client/server app in vb.net using winsock and I need my server to send/receive simple data from the web.
    I was thinking about a simple asp.net app... But I don't even know if that's possible... How could it be done?

    Thanks in advance !

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

    Re: VB.net interact with web

    Receive what from the web?
    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
    Junior Member
    Join Date
    Jan 2007
    Posts
    26

    Re: VB.net interact with web

    I want this web app to behave like a server, in wich a client will connect and send/receive simple strings of text

    Thanks!

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

    Re: VB.net interact with web

    When you say web, do you mean the internet? Or do you really mean web, as in webpages etc.

    Well you say you've got a client/server application already, so there shouldnt be much more to it. What code have you got sofar?
    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
    Junior Member
    Join Date
    Jan 2007
    Posts
    26

    Re: VB.net interact with web

    I'll try to make things a little more clear :S
    I want a simple application I could access with my browser, and this application should be able to send/receive a text string to the winsock component...

    Hope this helps.. I rly want to move forward with this
    Thanks!

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

    Re: VB.net interact with web

    Alright then.
    The web uses the HTTP Protocoll, so thats what you'll have to use when communicating with your browser.
    If you want to respond differently to different requests from the browser, you will have to parse the HTTP Request that the browser sends, and respond accordingly. If not, just ignore the request and send a HTTP response, statically.
    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)

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    26

    Re: VB.net interact with web

    I've done a little searching and still can't solve this..
    How is it done? Is there any HTTP component I can use?
    Thanks...

  8. #8

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