Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends
I am New To C#.

Is Possible to Connect One PC With Another One Over Internet in C#. If It Is Possible What is the way To done and any one give me some sample code please.

Thanks for your answers. I took many server and client sample from google. All server and clients are well work in LAN. But failed In Internet. Any Additional coding need?

Regards
ak.naser
Posted
Updated 7-Dec-10 23:37pm
v3
Comments
Rajesh Anuhya 8-Dec-10 5:41am    
what is the problem getting in the internet??? can provide any error message

Of course it's possible. You can use Windows sockets, remoting, or WCF. Google is your friend.

I tried the old string-between-two-cans method a few years ago, and while it did work, throughput was pretty slow.
 
Share this answer
 
v2
This may helps you ..,

Go through the below link

Here[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900