Link to home
Start Free TrialLog in
Avatar of gangwisch
gangwisch

asked on

VB.NET ip chat

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
Avatar of Timbo87
Timbo87

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.
Avatar of gangwisch

ASKER

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
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.
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 
i've been told that many times. I have just resorted to using tcpclient and tcplistener without a socket
ASKER CERTIFIED SOLUTION
Avatar of GhostMod
GhostMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial