Blue Theme Orange Theme Green Theme Red Theme
 
Discover the top 5 tips for understanding .NET Interop
Home | Forums | Videos | Photos | Blogs | Beginners | Advertise with Us
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Mindcracker MVP Summit 2012
Search :       Advanced Search »
Home » VB.NET » Client Server Multithreading Application

Client Server Multithreading Application

This is simple Client/Server (multi-threading) program that transfers data. Server can handle multiple clients.

Page Views : 78637
Downloads : 4532
Rating :
 Rate it
Level : Beginner
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
Download Files:
ClientServerMT.zip
 
 
DevExpress Free UI Controls
Become a Sponsor
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 

This is simple Client/Server (multi-threading) program that transfers data. Server can handle multiple clients.

I have used VS.NET to implement this program.

Double click on ClientServer.Zip and extract all the files and folders to a folder in C drive.

Run the project using VS.NET:

Double click on Client.sln (Project file) and Server.sln (Project file). Then run the project (press F5).

Run using command-line prompt:

Copy Server (Form1.vb) files in to a folder (Server) in C drive. Then copy Client (From1.vb LoginInfo.vb) into another folder (Client) in C drive and compile it using.

C:\FolderName> vbc. *.vb.

This will create a Form1.exe file inside the folder. You have to compile files in both folders separately. Then run the Server and Client by double clicking on each Form.exe file.



Important:

Make sure that you enter the correct IP address of your computer. To find out the IP address of your computer type "c:\>ipconfig" and press enter. Port number is 8002. This will display the IP address of your computer. Enter that value in the Form1.vb.

private string ipAddress = "Your IP Address";

For example:

private string ipAddress = "192.168.5.106";



Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Indika M W
I have completed a Bachelor of Science Degree in Computer Science. I have been programming skills with Visual Basic, Java and ASP.NET.
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Discover the top 5 tips for understanding .NET
Ricky Leeks presents the top 5 tips for understanding .NET Interoperability. Learn more.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
Mindcracker MVP Summit 2012
Become a Sponsor
 Comments
hai by vinus On February 4, 2008
can u plz give me the sourse code for dis client server application to vineethasugathen@yahoo.co.in thanks...........
Reply | Email | Modify 
hello..I have some problems about that.... by erin On February 21, 2008
hi hi~ thank u for this program.. but..when i run this program.. i have some problems.. the error message means ...can't access in different Threads (that's in chniese ..i tranform in english. ~"~) can you slove the problem for me ? thank you so mush...
Reply | Email | Modify 
multithread client/server application in java by vinoth On October 15, 2009

Hi i need multithread client/server  application sample program can you send with explanation....

Reply | Email | Modify 
tryrttyrttr by azeem On February 14, 2010
gfghgf fghfghfhgfhf
Reply | Email | Modify 
code by hazim On June 26, 2010
excuse me sir, is the code available in vb6
Reply | Email | Modify 
OLD CODE by Brian On June 29, 2010
This will NOT work properly in the latest vb.net 2008.
Reply | Email | Modify 
code can't download by hind On September 21, 2010

hi ica't download this code

Reply | Email | Modify 
Error When I Wnt to Run The Program by ian On December 21, 2010
Nice Simple program,,, But i have probem when i try to run the program... The Error Message is : 'The requested address is not valid in its context' at : tcpLsn.Start() Can you give a simple code for make an client/server application using vb .net and mysql ??? if you can, i just want the code for connection Please... Sory for my bad english
Reply | Email | Modify 
hai by rohit On October 7, 2011
this is not working in vb.net 2010 :'(
Reply | Email | Modify 
Discover the top 5 tips for understanding .NET Interop
 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.