How can I send data to a specific port and ip?
I need to send the following data:
0000000122&ServiceID=1&QueryCode=code1
to 192.168.1.1:9184 (there is a program that listens on this port)
Do I need to use TcpClient?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look a link.You get nice example.
http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx