Article View: comp.os.os2.bugs
Article #168Re: Solution: [COMW] waring - only wrote xxx of xxxx bytes
From: emmett
Date: Fri, 17 Nov 1995 00:00
Date: Fri, 17 Nov 1995 00:00
28 lines
2436 bytes
2436 bytes
In <48e5tj$1jr@nntp.ucs.ubc.ca>, unruh@physics.ubc.ca (William Unruh) writes: > >I have occasionally had the [COMW] warning--only wrote 0 of 5 bytes >when for some reason the modem got hung up imprperly. The only way out >seems to have been rebooting. I'm pretty sure it is a problem in the >COM drivers. >-- The only reason a COM device driver would return after transmitting only some of the characters requested is because the write timed out. If you have CTS, DSR, DCD, or transmit Xon/Xoff handshaking enabled the device driver will not transmit unless, and until inactive CTS, DSR, or DCD become active, and/or until an Xon has been received; assuming an Xoff had beed received earlier. If you intend to use one of these handshaking modes you will either have to increase the Write Timeout or handle the error you are receivien by attempting to re-transmit the characters that weren't transmitted on the write request that returned the error; or both. You might get the COMscope demo and use it to see what is causing the problem. That is if the above info doesn't help. ftp.ablecom.net /pub/ostools/COMscope.demo.exe Emmett Culley (emmett@os-tools.com) OS/tools Incorporated COMscope, COMspool, COMi SafePage, PageStar, QuickPage
Technical Details
Message-ID:
<48j0it$p57@srv1.sj.ablecom.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<47g8e7$ql2@raffles.technet.sg> <483613$i7i@steel.interlog.com> <48dv1c$38h@buffnet2.buffnet.net> <48e5tj$1jr@nntp.ucs.ubc.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cd94,6c00952e8677001e X-Google-Attributes: gid10cd94,public X-Google-Thread: 106983,6c00952e8677001e X-Google-Attributes: gid106983,public X-Google-Thread: 133ced,6c00952e8677001e X-Google-Attributes: gid133ced,public X-Google-Thread: 1021aa,6c00952e8677001e X-Google-Attributes: gid1021aa,public X-Google-Thread: 10c4f5,5b0e65ab661ae2f X-Google-Attributes: gid10c4f5,public X-Google-Thread: 107fbf,6c00952e8677001e X-Google-Attributes: gid107fbf,public X-Google-Thread: 100b63,6c00952e8677001e X-Google-Attributes: gid100b63,public From: emmett@os-tools.com Subject: Re: Solution: [COMW] waring - only wrote xxx of xxxx bytes Date: 1995/11/17 Message-ID: <48j0it$p57@srv1.sj.ablecom.net> X-Deja-AN: 119639545 references: <47g8e7$ql2@raffles.technet.sg> <483613$i7i@steel.interlog.com> <48dv1c$38h@buffnet2.buffnet.net> <48e5tj$1jr@nntp.ucs.ubc.ca> organization: OS/tools Support reply-to: emmett@os-tools.com newsgroups: comp.os.os2.bugs,comp.os.os2.advocay,comp.os.os2.networking.tcp-ip,comp.os.os2.comm,comp.os.os2.setup,comp.os.os2.networking.misc,bit.listserv.os2-l