| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DosRead blocking |
PF> to call it as few times as possible, and get as many bytes back with PF> each call (this is why "Wait for something" read timeout processing PF> is so cool). JS> I'am able to react on a terminate flag. Or is it JS> possible to close the serial device (or Socket) with an JS> external Program (I wasn't successful when it tried JS> this) ? You can do a shutdown(socket,2) from another thread, and the thread blocked on a recv() or send() (<--unlikely) will drop out of it. Works just fine here. --- Maximus/2 2.02* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347) SEEN-BY: 50/99 54/99 270/101 620/243 625/155 711/401 413 430 934 712/311 407 SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1 @PATH: 109/347 632 7 396/1 270/101 712/624 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.