sailu@plxsun.uucp (Sailu Reddy) (05/10/91)
Has any one ever obtained NCSA TELNET source code ? I am very interested to find out how the network error handling was done. I seem to have a frequent hangups in my applications when ever the host died or some form of network error occured I have tried variety of things, including close and releases and even shutting down all appletalk drivers and starting them again. Invariably I seem end up having a frozen system, and only cure is to reboot the machine. If someone could mail me either the source or some information to salvage above scenario, I would be really gratefull. Thanx in adv. -- Sailu Sailu Reddy sun!plx!plxsun!sailu (408)982 4858
resnick@cogsci.uiuc.edu (Pete Resnick) (05/10/91)
sailu@plxsun.uucp (Sailu Reddy) writes: >Has any one ever obtained NCSA TELNET source code? I am very interested to find >out how the network error handling was done. I seem to have a frequent hangups >in my applications whenever the host died or some form of network error occured It sounds to me like you don't have your asynchronous notification routine declared properly. When a connection gets broken due to a host going down or other error, this routine is going to get called. Make sure it is declared properly (as a pascal routine), will be available during interrupt, and does not use globals unless setup properly. Not having these correct would almost certainly cause your crash. I would recommend *against* looking at the NCSA Telnet source. It is not by any means a good or clear piece of code. Find something else if you can. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD