Solved

VB.NET ip chat

Posted on 2004-04-03
8
569 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
Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

 
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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 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