From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <37D80FBE DOT BFBC8703 AT pepparkakor DOT demon DOT nl> Subject: Re: 2 questions X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Mon, 20 Sep 1999 11:54:50 +1000 NNTP-Posting-Host: 139.134.164.109 X-Trace: newsfeeds.bigpond.com 937818867 139.134.164.109 (Mon, 20 Sep 1999 19:14:27 EST) NNTP-Posting-Date: Mon, 20 Sep 1999 19:14:27 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) Lines: 36 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Roger wrote in message news:37D80FBE DOT BFBC8703 AT pepparkakor DOT demon DOT nl... > Hi,everyone. > > I have want to do a little program,but I want to know a few things > first. I take it you want to develop this as DOS program compiled with DJGPP to be run in a Windows 95/98 DOS box? Is this correct? > Is it possible to size the doswindow,in my program? I want to have a > little window,but I can't make it. I don't think this is possible from a DOS program (although stranger things have been accomplished). > Then I wonder how I can communicate with another computer in a network.I > wanna try it,but I have no idee what port or who I do. If you just want straight access to a networked computer that you know the name of, you could probably try opening a file or directory in your program with the \\ style Windows network locator. Try this (note: untested): FILE *f = fopen("\\\\somemachine\\c\\test.txt", "r"); Cheers, -- Johan Venter ICQ 3643877 surf.to/djgppig