15,893,486 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by carlos pin (Top 17 by date)
carlos pin
26-Dec-12 10:17am
View
i need more if existe
carlos pin
26-Dec-12 10:17am
View
thank you so much guy !
carlos pin
25-Dec-11 11:15am
View
i want to work with for the Geometry Algorithms, but i can't understand how to install it?! plz help me
carlos pin
25-Dec-11 8:03am
View
but i can't understand it, i need vedio or some think like ...
carlos pin
2-Oct-11 17:19pm
View
Thank you OriginalGriff but i can't understand your exemple, Give me an simple exemple resolved my Proble,,,
carlos pin
2-Oct-11 8:07am
View
Thank you Bala Selvanayagam for your help, and this is exactelly what i want +
carlos pin
1-Oct-11 14:40pm
View
what can help me this link? maybe explain the TcpClient?
carlos pin
1-Oct-11 14:39pm
View
I think my question is clear,,,
I am Italian and I do not speak English very well, and I'm sad not to find a solution for my problem (é_è), thank you friends
carlos pin
1-Oct-11 7:25am
View
I read your answer, and I think your response is not appropriate to my problem, i haven't told about http protocol, my protocole is the same of telnet protocol, because I have to connect to my router 192.168.1.1 and send the username and password (login), and after I can send commands to my router...this is what i want,,,how can i do it?because always i'm coonecting to my router he ask me about the username and password,,,
carlos pin
30-Sep-11 16:17pm
View
Is it normally possible to login using your web browser? Yes i can login with my browser see here http://www7.0zz0.com/2011/09/30/20/138068654.png
but my question is about login with tcpclient class exemple the telnet
http://www6.0zz0.com/2011/09/25/09/809657530.png
and login to it, I tried with web browser and it work well and I want login with Tcpcient class, please help me...
carlos pin
30-Sep-11 13:27pm
View
Espen help me please to find solution to my pb,,,plz
carlos pin
30-Sep-11 11:48am
View
Thank you Nijboer
http://www6.0zz0.com/2011/09/25/09/809657530.png
If you can help me, i want login with Tcpclient class help me Plzz
carlos pin
27-Sep-11 4:47am
View
It don't contain what i need see my question
carlos pin
27-Sep-11 4:46am
View
Give me an exemple please for the TreadPool
Thank you
carlos pin
25-Sep-11 16:46pm
View
OK you can help me, because it's so clear...
carlos pin
24-Sep-11 4:15am
View
Thank you SAKryukov, when i connect to my router 192.168.1.1 he ask me about user and password (admin,admin), I could not enter them automaticly ...
http://imageshack.us/photo/my-images/638/25278646.png/
TcpClient tcpclient = new TcpClient();
try
{
tcpclient.Connect("192.168.1.1", 23);
NetworkStream ns = tcpclient.GetStream();
byte[] inStream = new byte[10025];
ns.Read(inStream, 0, (int)tcpclient.ReceiveBufferSize);
string returndata = System.Text.Encoding.ASCII.GetString(inStream);
Console.WriteLine("Data from Server : " + returndata);
//string password = "admin";
byte[] msg = Encoding.ASCII.GetBytes("admin");
ns.Write(msg, 0, msg.Length);
ns.Flush();
}
catch
{
}
carlos pin
23-Sep-11 18:04pm
View
No helps, No comments,No one ?!!
Show More