From: Logan Bowers Newsgroups: comp.os.msdos.djgpp Subject: TCP/IP Library, Svasync Library, and a Stdout that won't flush Date: Sun, 09 Feb 1997 12:26:07 -0800 Organization: Cyberspace.com Lines: 34 Message-ID: <32FE32DF.0@cyberspace.com> Reply-To: bowers AT cyberspace DOT com NNTP-Posting-Host: PPP206-109.cyberspace.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I am having three problems with DJGPP, it'd be great if I could find some answers here, as all of my other attempts have failed. Thanks. First Problem: The only TCP/IP library I can find has no documentation for it. I can figure out most of it by looking at the header file, but one of the parameters for opening a TCP socket requires a pointer to a function DATAHANDLER that takes no arguments. I am trying to figure out what the heck to do with that parameter. Second Problem: The only CommPort library I could find (Svasync) doesn't let you set the IRQ for the comm port that you use. I need to use COM3, but it is on a non-standard IRQ of 9. The library will only work if I set the IRQ of the port to 4. In the source code, it has 4 settings for each port: Port, VectorNum, EnableIRQ, and DisableIRQ. So how do I set these to access my port on COM3? Third Problem: This may seem pretty lame, but I cannot figure out how to flush the stdout. When I call fflush(stdout), I know there is stuff in the buffer, but it doesn't display on the screen. What am I to do? Thanks for any help anyone offer. Logan Bowers