From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,23a2bccf801215c3 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.233.69 with SMTP id tu5mr10968105pbc.6.1334614819590; Mon, 16 Apr 2012 15:20:19 -0700 (PDT) Path: r9ni64291pbh.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: Web server running on RSX-11M-PLUS Date: Tue, 17 Apr 2012 00:20:18 +0200 Organization: Update Computer Club Message-ID: References: NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1334614819 19779 178.83.31.172 (16 Apr 2012 22:20:19 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 16 Apr 2012 22:20:19 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-04-16 21:48, Rich Alderson wrote: > Johnny Billquist writes: > >> I also happen to have the DEC PDP-11 C compiler for RSX, which is pretty >> much a full blown ANSI C. Not overly impressed by the code it generates, >> but it's a rather nice compiler over all (very little, if any >> optimization done by the compiler). And yes, I have also been working on >> the TCP/IP interface to that. I have a somewhat usable version, but I'm >> fighting with myself about if I should go with my original idea, in >> which where you actually open the tcp socket and get a file handle, to >> which you can then do printf() and so on, or if I should implement the >> Unix style socket interface. > >> The Unix style sockets is something people know, which in a way makes it >> easier for people to write code, but on the other hand, it's a stupid >> interface and somewhat inefficient. > > Let me chime in and say "Do it the right way. Don't use sockets!" :-) Thanks... I might do both in the end. I already have the file I/O interface working, although it needs some more polishing. The most annoying detail being that blocking of reads if you've done a write and vice versa in the standard C I/O routines. I have a workaround, but it is ugly... Interfacing from other languages are much easier. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol