home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
142.lha
/
DNet
/
client
/
quitdnet.c
< prev
Wrap
C/C++ Source or Header
|
1986-11-21
|
486b
|
32 lines
/*
* QUITDNET.C
*
* DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
*
* QUITDNET [-Nnet]
*
*/
main(ac,av)
char *av[];
{
int ok;
char *host = NULL;
{
register short i;
for (i = 1; i < ac; ++i) {
if (strncmp(av[i], "-N", 2) == 0) {
host = av[i] + 2;
continue;
}
}
}
ok = DQuit(host); /* NULL ok */
if (ok)
puts("success, remote end should quit in a sec.");
else
puts("DNET master port for network not found");
}