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
Solved

VB.NET ip chat

Posted on 2004-04-03
8
567 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
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

765 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