Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
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? :D
Posted
Comments
[no name] 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.
[no name] 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

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.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900