Vinod Maurya
Vinod Maurya

Reputation: 4167

Establish connection between 2 computers on internet

I am having a domain name and web space (the web is running, its ASP.net 3.5). I am working on a project in which I need to connect 2 computers over the internet.

Is it possible to do that with a simple ASP.Net website? What other things I do need to do this?

Thanks

EDIT

Actually I want to send the data from one computer to another in real time, I mean as we do chatting we exchange text to one another. The same thing I want to achieve.

Upvotes: 2

Views: 3621

Answers (3)

Jan
Jan

Reputation: 16032

There are many ways to connect two computers and transfer data.

The most current and recommended approaches are:

Upvotes: 8

Uwe Keim
Uwe Keim

Reputation: 40736

To go through NAT routers and firewalls you probably have to implement something like "Session Traversal Utilities for NAT" (STUN) or "Traversal Using Relay NAT" (TURN).

Other techniques are "UDP Hole Punching" or "TCP Hole Punching".

I also found an article about a STUN client in .NET.

Upvotes: 1

Vladimir
Vladimir

Reputation: 1797

What do you exactly want? If one computer opens a web site hosted on the other - they are connected :)

You can, for example, create a web service on the computer running ASP.NET and use its functionality from the other.

Or, maybe you want connect them using sockets?

Upvotes: 0

Related Questions