[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 305
  • Last Modified:

VB2008 Connect to a server

How can I connect to a server (based off of Apache Mina) with VB 2008? The aim is to create a small, lightweight chat client.
0
jSherz
Asked:
jSherz
  • 3
  • 3
1 Solution
 
Bob LearnedCommented:
That is a pretty vague question, and without details, it would be difficult to help you...
0
 
jSherzAuthor Commented:
How can I open a connection to a server (e.g. in the same way that telnet does).
0
 
Bob LearnedCommented:
Are you talking about a TCP/IP socket connection?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
jSherzAuthor Commented:
Yes
0
 
Bob LearnedCommented:
You have a few directions that you can go in, but I would start by looking at the TcpClient class in the System.Net namespace.

TcpClient Class
http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient(VS.80).aspx
0
 
jSherzAuthor Commented:
That's great, thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now