🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9508

Connecting to external network via RAS

#9508
From: nicolasr
Date: Tue, 06 Jul 2004 22:13
22 lines
1564 bytes
Hi,

I need to connect to a number of external computers via RAS.
Given a RAS phone book entry I want to use InternetDial() to
establish the connection. Furthermore I have IP addresses
of the computers in the local network.
Each of the computers has some shares I need to create
mirrors from.

I'm quite new to RAS and Networking so I have some (maybe
trivial?) questions:

1) How can I enumerate existing shares on each of the computers?

2) Can I access files on the computers via UNC paths given the IP
and a share-name? (like \\X.X.X.X\MyShare\SomeDir\test.txt)

3) Is it possible to determine the Windows version running on
each of the computers?

thanks for any idea,
Nick
Technical Details
Message-ID: <40eb2411$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,85f4e9c04dd4597f,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Connecting to external network via RAS
Date: Wed, 7 Jul 2004 00:13:35 +0200
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 80.133.182.209
Message-ID: <40eb2411$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089152017 80.133.182.209 (6 Jul 2004 15:13:37 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail