I always remind the boss that there is no "WE" either!
NULPTR
Posts
-
There's No "I" in Team -
TCP and ASP and ConnectionsYes, true, telnet is available in that way. I did know about that, but thanks for the reply. Trying to tie together the two OS's though is really the issue. I guess I may be over complicating it a bit, we could just supply two different instruction sets. I figured the easy solution was a web page that does not depend upon the OS, if you get my drift. You are correct in that respect though.
-
TCP and ASP and ConnectionsHello all, I was not sure if I should throw this into C# or Asp.net forum, please move if you feel appropriate. Situation: Programming an ASP website that will allow scheduling and connecting to a remote Cisco router to help students learn to configure Cisco routers during their Cisco classes. If you did not know, Vista no longer has Hyperterminal as XP did, and Hyperterminal is no longer free. Aside from the fact that there are some open source/free TCP/IP clients out there, the need arises to make it as simple for the student as possible. My solution was/is to provide the solution via a webpage. Problem: I am quite new to ASP in general, though not C#. I wrote my own "Telnet" client that connects to the router and so far as I can tell works quite well. I am now trying to translate this Winforms application over to a ASP page that can be deployed onto the schools' server. I used a TCPClient and Stream in the Winforms application to work out the telnet client part. In trying to translate this over to an ASP page, I am unclear exactly where I need to put the connection info (ie Page_Load). I need to keep the connection open to the router at all times. Currently in my Page_Load, I establish the connection and stream, however stream.DataAvailable does not seem to work (I was using it in a loop to get the greeting and passphrase prompt). However, if I just read the stream, in a combination of 2 separate Do..While loops, I get the initial greeting/passphrase prompt. Aside from that issue, the stream is disconnected after the initial Page_Load. I need to be able to keep the connection alive for the duration that the user is logged into/viewing the webpage, and also process (via a textbox entry line on the same webpage) any commands sent by the person connected. Can anyone provide some suggestions on how to accomplish this? Is anyone available via some form of Instant Messenger that can maybe help me out (I would not normally ask this, but, I do not know any other programmers in my area)? Any help would be appreciated! Thanks!
-
Need a project to try? Learning C++?Apologies for the wrong forum and wording used. ;P Everyone can just disregard the post, removing the project all together, evidentally trying to help others like me who are just beginning in the programming world is a bad idea and those who are in the "know" seem to be just arrogant. I am truly amazed at comments and emails I have received for attempting to help.... :((
-
Need a project to try? Learning C++?Hello all, Just thought I would throw up for you C++ beginners, if any of you are, I am going through a project at school and walking through it on my Windows Live Space. I would not mind having some of the more experienced guys maybe comment on it also if they see any errors. Just throwing it out there if someone just wants to practice their C++ skills or (for you more experienced guys/gals) comment and help someone still learning. http://sm4kt4rd.spaces.live.com/[My Space!]
-
Good magazine subscriptions for programmers?Hello all, I was just curious if anyone has (which I am sure we all do) any suggestions of magazines related to programming that help to keep a programmer on top of emerging technologies? I was thinking of a Dr. Jobb's Journal subscription, but just wondered if other programmers have any suggestions. Thanks!
-
VS2008 to be released this month46 75 63 6B 20 79 6F 75 20 4B 79 6C 65 20 45 64 77 61 72 64 73 20 66 72 6F 6D 20 41 72 6B 61 6E 73 61 73 21 20 46 75 63 6B 20 79 6F 75 20 74 6F 20 68 65 6C 6C I fingered it out, do I get a prize? lol, j/k, NIC3!