Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!sunb8!meyer From: meyer@sunb8.cs.uiuc.edu Newsgroups: comp.sys.ibm.pc Subject: Re: NetBios problems with a token ring Message-ID: <36200004@sunb8> Date: 6 Feb 90 17:40:25 GMT References: <36200003@suna8> Lines: 23 Nf-ID: #R:suna8:36200003:sunb8:36200004:000:1189 Nf-From: sunb8.cs.uiuc.edu!meyer Feb 5 10:02:00 1990 NETbios on a token-ring system is very flaky to program for, I agree. I had a similar 'mysterious' problem where a host program sent/received various types & sizes of messages to a number of client programs via sessions, with timer messages sent via datagram. The host program would randomly hang upon receipt of one type of message, often working perfectly for 5-10 minutes before hanging.ng. This message is neither the smallest nor largest message, so no buffer overflow problems. The solution - I implemented this specific message in datagram, an now it works perfectly. I'm not sure if you're doing this already, or not - but you may want to try posting one or more receives ahead of time. I generally do this as a rule - it tends to avoid blocking and improve throughput. (It doesn't work well under Windows/386 - any program using posted netbios commands will receive a "Not enough NCBs" error returned from the post command.) I have generally excellent success otherwise. _____ Don Meyer internet: dlmeyer@uiuc.edu (sunb8.cs.uiuc.edu) quote du jour: "If, indeed, there exists Artificial Intelligence, then there must also exist Artificial Stupidity" - ???