[Info-vax] Large mailboxes

Arne Vajhøj arne at vajhoej.dk
Sat Nov 28 22:26:29 EST 2020


On 11/28/2020 8:49 PM, Dave Froble wrote:
> On 11/28/2020 6:45 PM, Arne Vajhøj wrote:
>> On 11/28/2020 3:41 PM, Dave Froble wrote:
>>> On 11/28/2020 1:40 PM, Stephen Hoffman wrote:
>>>> I'd use DTLS here for sensitive data, though the available TCP/IP,
>>>> UDP/IP, TLS, and DTLS APIs on OpenVMS are less than friendly.
>>>
>>> Screw the APIs.  There are sockets at the bottom of any of them.  Just
>>> forget the top heavy junk and use sockets.
>>
>> I suspect he wants a higher level API for TCP/IP communication
>> for the same reason you use Basic and not Macro-32. You get more
>> functionality implemented per hour.
> 
> Totally disagree.
> 
> I've seen some of the stuff needed to use higher level stuff.  Lots and 
> lots of coding to meet the requirements.  They are for those who don't 
> know how to use sockets, which is rather easy.
> 
> YMMV, but, I get done much quicker if I skip all the overhead coding.

I am not convinced.

Let me make an example.

Task getting the page at https://www.google.com/

In VB.NET you do:

Dim wc As WebClient =  New WebClient
Dim s As String = wc.DownloadString("https://www.google.com/")

How many lines does it take to do that using socket API??

Arne





More information about the Info-vax mailing list