Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Why did you delete my other post? Me not knowing why = me maybe making the same mistake again
 
...anyway. To the question.
 
I have endeavoured high and low in order to overturn a code that will allow oneself to send a string via a TcpClient.
 
Would one be forgiving enough to free me of my misery?
 
(Any working code will do, comments are unneccessary but OK if you have them in the code)
 
Thanking you all muchly, should you all not report my posts. How would you like it if you have been waiting months for a code, then someone comes along, gets jealous of your clever wordiness, then reports it? Big Grin | :-D
Posted 4-Jul-13 2:18am
Comments
ThePhantomUpvoter at 4-Jul-13 7:54am
   
"Why did you delete my other post?". I can't say for sure but if it were as great of a "question" as this one, then I can make a guess....
"To the question" and still waiting.... gimme code is not a question.
"jealous of your clever wordiness", can you demonstrate some of this "clever wordiness"? I would like to see some.
Rixterz123 at 4-Jul-13 14:46pm
   
1) Ok.
2) The question was on the 4th line.
3) "I have endeavoured high and low" <-- clever wordiness.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There are tons of examples on TcpClient. Just use Google.
 
http://lmgtfy.com/?q=how+to+use+tcpclient+in+vb.net[^]
 
http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx[^]
 
http://www.nullskull.com/articles/20020323.asp[^]
 
The basic is, you have to connect to at a service via TCP/IP. Know the IP address and TCP port.
When the connection is made, you usually use a Protocol to transfer data.
 
Think of it as a water pipe, you put data in and it comes out in the other end.
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 8,284
1 Sergey Alexandrovich Kryukov 7,327
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,920


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 4 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100