• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

Persistent HTTP Connection

In VB.Net how would I go about sending a service request to a url
A persistent, long-lived HTTP connection?

I need to receove a steady stream of information and send to SQL Server

I can do the send along to SQL Server part.
  • 2
  • 2
2 Solutions
QlemoBatchelor and DeveloperCommented:
Though HTTP isn't intended for keeping persistent connections, you can set up keep-alives for the corresponding socket:
lrbristerAuthor Commented:
 I'm trying to slog through the examples on the links.

Do youhave a "cut through the red tape" example code?

I don;t need you to write my program.
Just a "keypoint" start
QlemoBatchelor and DeveloperCommented:
Sorry, not really. I would have to mock up something without testing it ;-).
You will probably use this method http://msdn.microsoft.com/en-us/library/e160993d.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
to allow KeepAlives on an already open socket. I assume you have all the other code ready (open up a socket and such).
lrbristerAuthor Commented:
Close enough

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now