Skip to main content
Email Password   helpLost your password?

Sample Image - TCP2HTTP.jpg

Introduction

Since this is my first uploaded project, I will be quite brief.

This simple program uses .NET remoting built in HTTP channel to establish a two-way communication channel between client and server endpoints which is adequate for firewalled and proxy environments.

Basically, at the server end, TCP2HTTPActivator registers TCP2HTTPServer which is a MarshalByRefObject class that exposes a few methods for sending and receiving socket data. When a client connects to the server, it requests a connection to a particular TCP port. Server object opens a connection to the local port and serves as a proxy between client and server sides.

At the client end, TCP2HTTPClient starts listening at a predetermined port which is used for redirecting the TCP socket data transfer over HTTP channel. When an application connects locally to a defined port, TCP2HTTPClient feeds the data to the server and backwards via sendTCPStream and receiveTCPStream methods.

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralHas anyone figured out how to get this to work? Pin
skirby55
7:32 21 Jun '07  
GeneralHow to run the demo? Pin
langdeng
15:25 12 Oct '05  
Generalseperation Pin
seer_tenedos2
16:11 24 Feb '05  
GeneralRe: seperation Pin
Navise
12:52 26 Feb '05  
GeneralMore details Pin
Michael A. Barnhart
1:15 18 May '04  


Last Updated 4 May 2004 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009