?
Solved

VB.NET ip chat

Posted on 2004-04-03
8
Medium Priority
?
570 Views
Last Modified: 2008-02-01
how would i do an ip chat with another computer i think i need the tcplistener and the tpclient types but i dont know how to connect and define ipendpoints or something. Also do i need the listener in a thread? please dont tell me to use the winsock activex control because i am trying to learn the sockets in .net

Thanks for any help
0
Comment
Question by:gangwisch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 15

Expert Comment

by:Timbo87
ID: 10750521
This article discusses making an IP chat using sockets in C#.

http://www.mctainsh.com/Csharp/SocketsInCS.aspx

If you're not comfortable with C#, I can translate it to VB.NET.
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10750668
0
 
LVL 10

Author Comment

by:gangwisch
ID: 10754577
timbo87, can you translate the code for me. because i am having the hardest time finding a simple vb.net chat whether it be tcpclient or just a socket. all i want is a simple code without classes or module connecting to an ipaddress and port and sending data and having another textbox show what was received

Any Help is helpful thanks
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 27

Expert Comment

by:planocz
ID: 10862732
Hi gangwisch,

I have the client side of Timbo87 link if you still need it. I modified it to work with RichTextboxs in VB.net.
I can post the code tomorrow 4-20-2004.
0
 
LVL 27

Expert Comment

by:planocz
ID: 10862778
I forgot here is a microsoft link that has a good socket program in it along with 100 other examples.

http://msdn.microsoft.com/vbasic/downloads/samples/101samples.aspx 
0
 
LVL 10

Author Comment

by:gangwisch
ID: 10863155
i've been told that many times. I have just resorted to using tcpclient and tcplistener without a socket
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11121037
PAQed, with points refunded (500)

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question