VB.NET-INFORMATIONS.COM



VB.NET Communications Tutorial

VB.NET Client Socket Program

VB.NET Client Socket Program

vb.net_client_socket_program.JPG

The Socket Programming has two sections.

1. Server Socket Program

2. Client Socket Program

The Client Socket Program is the continuation of the Server Socket Program . The Client Socket Program is a Windows based application . Client connect to the Port 8888 of the Server Socket Program , and the IP Address (Computer Name) here we give as 127.0.0.1 , because the Server and client running on the same machine .

clientSocket.Connect("127.0.0.1", 8888)

When client gets connected , it reads data from NetworkStream , and also write to NetworkStream . When you start the client program you will get message client started . When press the button at the bottom its send a message to Server and also receive a message from Server.

VB.NET SourceCode


Brfore you run the Client Socket Program you should start Server Socket Program first . For more details of running this program , take a look at the VB.NET Socket Programming .

VB.NET Communications Related Contents
How to send email from VB.NET
VB.NET Send email using CDOSYS
How to find IP Address of Host
How to read a URL Content
VB.NET Socket Programming
VB.NET Server Socket Program
VB.NET MultiThreaded Socket Programming
VB.NET MultiThreaded Server Socket Programming
VB.NET MultiThreaded Client Socket Programming
VB.NET Chat Server Program
VB.NET Chat Server
VB.NET Chat Client

VB.NET Related Tpoics
Microsoft .Net Framework Tutorials
VB.NET Language Basics Tutorials
VB.NET Program Flow Control Tutorials
VB.NET Collections Tutorials
VB.NET String Tutorials
VB.NET Files Tutorials
VB.NET Excel 2007 Tutorials
VB.NET Crystal Reports Tutorials
VB.NET Communications Tutorial
VB.NET ADO.NET Tutorial with source code
ADO.NET Data Providers help and Tutorial
VB.NET ADO.NET Dataset Tutorial
ADO.NET DataAdapter and Dataset
VB.NET ADO.NET DataView Tutorial

Search here for more Vb.Net Source Code :


   Categories

    HOME
    VB.NET

 
 
 
   













  |  Home   |  SiteMap   |  About   |
net-informations.com (C) 2008 All Rights Reserved