Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3358742
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:47:20+00:00 2026-05-18T02:47:20+00:00

I want to develop a chat application with a server/client model, opening TCP or

  • 0

I want to develop a chat application with a server/client model, opening TCP or UDP sockets in VISUAL BASIC 2008. Is there a working example I can download, or some code to help me with this project?

Thanks in advance.


Edit: Thanks for the answer, really really appreciate it. But im stack somewhere, because my application will work only locally, but not throughout the Internet.

My code on the server part is the following:

enter code here readData = “Conected to Chat Server …” LabelConnection.Text = “Connected” PictureBox1.Image = My.Resources.Globe_Connected_Icon_39x33 PictureBox1.BackColor = Color.Transparent msg() clientSocket.Connect(“127.0.0.1”, 8888) enter code here

Now, instead of 127.0.0.1 I should put some variable or something that keeps the IP address of the target machine? How would I do that? Can anyone help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:47:20+00:00Added an answer on May 18, 2026 at 2:47 am

    Essentially, you’ll need to build a chat server application and a client program that connects to the server and initiates the data exchange. To really make this work right, you’re also going to have to learn a little bit about threading so that your client/listener runs asynchronously.

    Here’s a list of sample projects to take a look at:

    • Wintalk (a Microsoft-provided sample to introduce WinForms, sockets, and the .NET Framework)

    • Creating a Multi-User TCP Chat Application

    • A TCP/IP Chat Program

    • Simple Chat Application Using .NET Sockets

    • A Chat Application Using Asynchronous TCP Sockets

    • TCP/IP Chat Application Using C#

    • VB.NET Sockets Client Class

    Anything you might find that is written in C# (like a few of the above samples) should be relatively straightforward to convert to VB.NET. If you need some additional guidance, try some of the available online conversion tools, such as the one provided by DeveloperFusion.

    Finally, the MSDN documentation for the System.Net.Sockets namespace (which you’ll be using extensively) is an excellent resource as you start digging through the sample projects and find yourself with some nagging, unanswered questions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to develop a website web chat application like yahoo. Only difference is
I want to develop simple Serverless LAN Chat program just for fun. How can
I want to develop a windows application. If I use native C++ and MFC
I want to develop a mobile web application using asp.net 3.5 that can be
I want to develop an iPhone application using the utility template, where the flip
Imagine that you want to develop a non-trivial end-user desktop (not web) application in
If I develop a chat server using Twisted, where can I deploy it? Suppose
I want to develop a anonymous chat website like http://omgele.com . I know that
I want to develop a good chat in my page, I know how to
I want to develop an application for the android platform that can download some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.