473,396 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HTTP Gateway examples?

First of all.....Happy New Year to you! I hope you have a successful and
joyous new year.

As for the HTTP Gateway examples.... I'm looking for some sample code that
may illustrate techniques useful in coding an HTTP Gateway.

I want to be able to connect 2 PCs (both behind firewalls) via an HTTP
connection. FTP is also acceptable for this project, but HTTP is best.

Have you seen any code or articles that would be helpful in this respect?

Thank you for your time.

Jim Hubbard
Jul 21 '05 #1
7 1751
Jim Hubbard wrote:
First of all.....Happy New Year to you! I hope you have a successful
and joyous new year.

As for the HTTP Gateway examples.... I'm looking for some sample
code that may illustrate techniques useful in coding an HTTP Gateway.
What is a HTTP gateway? Gateways are ISO layer 3 devices, way below HTTP's
location in the standard network stack.
I want to be able to connect 2 PCs (both behind firewalls) via an HTTP
connection. FTP is also acceptable for this project, but HTTP is
best.


Regardless of whether you run HTTP or FTP, if the communication is supposed
to be bidirectional, you'll need to run both server and client software on
both boxes. Since there's no native FTP support in .NET before version 2.0,
using HTTP is probably easier to implement (System.Net.WebClient or
System.NetWebRequest) and certainly a lot more firewall friendly -- I assume
port 80 is open on both firewalls.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Jul 21 '05 #2
Jim,

This is stuff I am absolute not interested in at the moment, however
searching for the right page for somebody else I saw this.

http://msdn.microsoft.com/msdnmag/is...s/default.aspx

Maybe you can need it (although it is aspnet and I doubt it, however
something is in my opinion always better than nothing)

Cor
"Jim Hubbard" <re***@groups.please>
First of all.....Happy New Year to you! I hope you have a successful and
joyous new year.

As for the HTTP Gateway examples.... I'm looking for some sample code
that may illustrate techniques useful in coding an HTTP Gateway.

I want to be able to connect 2 PCs (both behind firewalls) via an HTTP
connection. FTP is also acceptable for this project, but HTTP is best.

Have you seen any code or articles that would be helpful in this respect?

Thank you for your time.

Jim Hubbard

Jul 21 '05 #3
If you mean HTTP Server app , look at Webster example on
http://www.microsoft.com/msj/archive/S25F.aspx

Arkady

"Jim Hubbard" <re***@groups.please> wrote in message
news:ou********************@giganews.com...
First of all.....Happy New Year to you! I hope you have a successful and
joyous new year.

As for the HTTP Gateway examples.... I'm looking for some sample code that may illustrate techniques useful in coding an HTTP Gateway.

I want to be able to connect 2 PCs (both behind firewalls) via an HTTP
connection. FTP is also acceptable for this project, but HTTP is best.

Have you seen any code or articles that would be helpful in this respect?

Thank you for your time.

Jim Hubbard

Jul 21 '05 #4
You are right....I should have called it an HTTP-Tunnel to be more precise.
"Joerg Jooss" <jo*********@gmx.net> wrote in message
news:e5**************@TK2MSFTNGP15.phx.gbl...
Jim Hubbard wrote:
First of all.....Happy New Year to you! I hope you have a successful
and joyous new year.

As for the HTTP Gateway examples.... I'm looking for some sample
code that may illustrate techniques useful in coding an HTTP Gateway.


What is a HTTP gateway? Gateways are ISO layer 3 devices, way below HTTP's
location in the standard network stack.
I want to be able to connect 2 PCs (both behind firewalls) via an HTTP
connection. FTP is also acceptable for this project, but HTTP is
best.


Regardless of whether you run HTTP or FTP, if the communication is
supposed to be bidirectional, you'll need to run both server and client
software on both boxes. Since there's no native FTP support in .NET before
version 2.0, using HTTP is probably easier to implement
(System.Net.WebClient or System.NetWebRequest) and certainly a lot more
firewall friendly -- I assume port 80 is open on both firewalls.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de

Jul 21 '05 #5
Jim Hubbard wrote:
You are right....I should have called it an HTTP-Tunnel to be more
precise.


So at the end of the day, it's a normal HTTP connection used to transport
Yet Another Protocol. This changes little -- you still need a web server and
a web client ;-)

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Jul 21 '05 #6
I want to duplicate the activeX component found at
http://www.http-tunnel.com/html/solu...el/activex.asp in .Net
and the associated HTTP-Tunnel Server (also found on the same site).

It would be used to get around firewalls for a remote help solution to be
provided freely to my customers.

Thanks for sticking with me......

Jim Hubbard
"Joerg Jooss" <jo*********@gmx.net> wrote in message
news:OZ**************@TK2MSFTNGP15.phx.gbl...
Jim Hubbard wrote:
You are right....I should have called it an HTTP-Tunnel to be more
precise.


So at the end of the day, it's a normal HTTP connection used to transport
Yet Another Protocol. This changes little -- you still need a web server
and a web client ;-)

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de

Jul 21 '05 #7
Jim Hubbard wrote:
I want to duplicate the activeX component found at
http://www.http-tunnel.com/html/solu...el/activex.asp in
.Net and the associated HTTP-Tunnel Server (also found on the same
site).
It would be used to get around firewalls for a remote help solution
to be provided freely to my customers.


Note that "getting around the firewall" is highly misleading. You
(hopefully) don't get around the firewall, you just sneak your stuff through
port 80, which is usually open to allow for HTTP traffic.

If you want to implement a true general HTTP tunneling solution, you
probably want to use a more powerful network API than what .NET currently
offers, like Indy (http://www.indyproject.org/). And if you need to hook
into WinSock like HTTP Tunnel does, I guess you need to deal with unmanaged
code anyway.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Jul 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Brown | last post by:
Hi All.. What I have is a normal ASP web page wih javascript. The javascript needs to call a payment gateway, but the only way to get to it is https://paymentgateway/external.pl with parameters....
1
by: roger beniot | last post by:
Is there anyway to get the external IP Address of a gateway/router that a small LAN is connected to. I currently have a variety of linkSys and Netgear gateways that I have a variety of windows LANs...
3
by: ashesdesign | last post by:
Hi All, I am very new to php and even newer to XML. Can anyone please shed some light on how to post XML requests via HTTP. I have been searching high and low and have come across many...
0
by: SWJust | last post by:
I found out that the socket in C# can be set in an GGP mode, but what does that mean, it is nessary for me to enter at mode where it is possible to communicate with routers, because my application...
7
by: Jim Hubbard | last post by:
First of all.....Happy New Year to you! I hope you have a successful and joyous new year. As for the HTTP Gateway examples.... I'm looking for some sample code that may illustrate techniques...
14
by: jojoba | last post by:
Hi, I hope this post is ok for this group. Here's my deal: I have two computers on my LAN at home. One desktop. One laptop. Both computers are wireless enabled (and wired enabled too). I...
0
by: Astan Chee | last post by:
Hi, Im trying to implement the logic from http://www.hypothetic.org/docs/msn/general/http_connections.php to a simple python code using urllib2 and some parts of urllib. Im behind a http proxy...
0
by: karpalmera | last post by:
We are currently migrating from OS/390 to Z/OS and our DB2 from DB2 4 to DB2 UDB8. However, our Oracle Database and Oracle gateway will remain the same..Oracle database is 7.2.3 and Oracle gateway is...
18
by: Grant Edwards | last post by:
Could whoever is responsible for the gateway that is grabbing my postings off of Usenet and e-mailing them out please fix the headers in the mail messages so that I don't get the bounce messages?...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.