Solved

VB.NET ip chat

Posted on 2004-04-03
8
563 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
8 Comments
 
LVL 15

Expert Comment

by:Timbo87
Comment Utility
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
Comment Utility
0
 
LVL 10

Author Comment

by:gangwisch
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 27

Expert Comment

by:planocz
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed, with points refunded (500)

GhostMod
Community Support Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now