|
-
May 15th, 2008, 04:47 PM
#1
Thread Starter
Junior Member
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 !
-
May 15th, 2008, 04:50 PM
#2
Re: VB.net interact with web
Receive what from the web?
-
May 15th, 2008, 04:55 PM
#3
Thread Starter
Junior Member
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!
-
May 15th, 2008, 05:10 PM
#4
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?
-
May 15th, 2008, 05:14 PM
#5
Thread Starter
Junior Member
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!
-
May 15th, 2008, 05:18 PM
#6
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.
-
May 15th, 2008, 05:40 PM
#7
Thread Starter
Junior Member
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...
-
May 16th, 2008, 01:55 AM
#8
Re: VB.net interact with web
i suggest to use Remoting instead of winsock in .net. So in that way you can write an client in asp.net that will run in web browser.
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
|