Telnet Router using code

Sarmad Sarosh

New member
Joined
Oct 21, 2008
Messages
1
Programming Experience
Beginner
Dear All!
How are you? Hope fine...

i am working with Visual Studio 2005 and want to communicate with the SMSC or a Router. I've written code using Winsock control and also with the NetworkStream. they work OK with my own server running on the same machine but when i try to connect the router using Telnet (on port 23) the response is something like that (???? ??#??'??$)
I am sending you code which is working well for the "LocalHost" and a dummy prot '8000'. first start the ServerSocket and check it with any client socket (tcpClient or sockClient) Problem arises when i use an address of a remote router and telnet port (23) for communication. Will somebody please guide me...


Thanks in Advance

Regards
Sarmad Sarosh
 

Attachments

  • Socket Programming.zip
    44.3 KB · Views: 52
Last edited by a moderator:
Back
Top