•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 391,549 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,544 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser:
Views: 1359 | Replies: 1
![]() |
•
•
Join Date: Jul 2006
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Good day..
Please do help on how to make a communication over LAN in C#..
Will you please give me some ideas on how to communicate the 2 computers if 1 act as a server and other as client.. What Ports do i used... Then im trying to acces for input and output in the 2 PCs.
Thnks... to all who reply and view my thread..
Please do help on how to make a communication over LAN in C#..
Will you please give me some ideas on how to communicate the 2 computers if 1 act as a server and other as client.. What Ports do i used... Then im trying to acces for input and output in the 2 PCs.
Thnks... to all who reply and view my thread..
Hi,
You can use TcpClient and TcpListener classes from System.Net.Sockets name space to use standart TCP communication. If you are implementing a protocol of your own use any port you like between 10000 and 65535.
Loren Soth
You can use TcpClient and TcpListener classes from System.Net.Sockets name space to use standart TCP communication. If you are implementing a protocol of your own use any port you like between 10000 and 65535.
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
Similar Threads
- Apparent LAN bridging occuring - how to stop? (Windows NT / 2000 / XP / 2003)
- BootP server issue: apparent LAN bridging (Networking Hardware Configuration)
- Best way to build a LAN? (Networking Hardware Configuration)
- Internet problem, no modem in bits when enable lan (Networking Hardware Configuration)
- New LAN and ICS, Wsock32 Authentication, any way to disable? (Networking Hardware Configuration)
- LAN intercommunication (Windows NT / 2000 / XP / 2003)
- Going on the internet on a LAN (Windows NT / 2000 / XP / 2003)
Other Threads in the C# Forum
- Previous Thread: Calculating a factorial of a number using C#
- Next Thread: Linking Java and C#


Linear Mode