🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.networking
Article #417

Re: AmiTCP running?

#417
From: Rask Lambertsen
Date: Sat, 05 Aug 1995 11:24
42 lines
1879 bytes
On 4 Aug 1995 03:52:16 GMT Howard Walton (Howarda@cris.com) wrote:
> How do I know if AmiTCP is running? Does a program appear with it own 
> menues, or is it run from the Amiga shell program?

AmiTCP runs in the background - no menus, no window, nothing. The
AmiTCP 4.0 demo version opens a window initially, though, to let you
read how to order the commercial version.

To see if it is running, search for the ARexx port "AMITCP", like

5. HD1:> WaitForPort AMITCP

If the prompt doesn't come back quickly, then AmiTCP is not running.

Also, if AmiTCP is running, bsdsocket.library and usergroup.library can
be opened. In a C program, this could be checked for like

struct Library *AmiTCPBase;

int main (int argc, char *argv[])
{
  if (AmiTCPBase = OpenLibrary ("bsdsocket.library", 0))
  {
    CloseLibrary (AmiTCPBase);
    puts ("AmiTCP is running.");
  }
  else
    puts ("AmiTCP is not running!");

  return (0);
}

Btw, any program that requires AmiTCP will complain if it is not running.

--
Regards,
 _________________________________________________________________________
/                                                                         \
| Rask Ingemann Lambertsen <gc948374@gbar.dtu.dk>, <e9864029@ebar.dtu.dk> |
|            WWW homepage: http://srv2.gbar.dtu.dk:8001/Rask/             |
|  Keyboard error: <Ctrl> and <Alt> are stuck - press <Del> to continue   |
\_________________________________________________________________________/
Technical Details
Message-ID: <3vvkdb$pmg@unidhp.uni-c.dk>
Path: arc1-ca.pugleaf.net!oersted.gbar.dtu.dk!gc948374
References: <3vs5hg$2ad@warp.cris.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!oersted.gbar.dtu.dk!gc948374
From: gc948374@oersted.gbar.dtu.dk (Rask Lambertsen)
Newsgroups: comp.sys.amiga.networking
Subject: Re: AmiTCP running?
Date: 5 Aug 1995 11:24:27 GMT
Organization: DTU
Message-ID: <3vvkdb$pmg@unidhp.uni-c.dk>
References: <3vs5hg$2ad@warp.cris.com>
NNTP-Posting-Host: oersted.gbar.dtu.dk
X-Newsreader: TIN [version 1.2 PL1]