Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 25 OCT 2000 10:09:23AM Wilhelm Schmitt wrote:

For controlling our WAN connections (TCP/IP Server:NT4 Workstation:Win95) from within ARev, we use a simple RBasic routine that loops through the IP list with the command:

PCPERFORM "ping 111.222.333.444 -n 1 ] ping.doc".

After that the message stored in ping.doc is evaluated and displayed in a list.

a) Is it possible to load the result from PING directly into a variable, instead of passing through the DOS file write/read each time?

b) Is RBasic capable of pinging directly ???

TIA

Wilhelm


At 25 OCT 2000 12:19PM matt sorrell wrote:

Wilhelm,

Perhaps the only way I can think of to get the results of a ping directly into a variable would be by using the C bond for ARev. This lets you write C routines, compile them, and call them from your R/Basic routines. C has network libraries, so you could execute a ping, take the information, load it into a variable, and then pass it back to your R/Basic routine.

msorrel@greyhound.com

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/99a89401fedca3d485256983004dc3ba.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1