ftp.nice.ch/pub/next/graphics/video/NDCamera.0.21.N.bsd.tar.gz#/NDCamera.0.21.N.bsd/Examples/NDCSingleRemoteGrab/NDCSingleRemoteGrab_main.m

This is NDCSingleRemoteGrab_main.m in view mode; [Download] [Up]

/* 	Example Stuff.
	Trys to connect to the NDCamera and grabs on single frame.
	this enables you to write scripts to sync the VCR (e.g. by using ZAP)
	and the NDCamara.
*/

#import <appkit/appkit.h>

void main(int argc, char *argv[]) 
{
	id	camera;
	
	camera = [NXConnection connectToName:"localhost/NDCamera" onHost:"*"];

	if( camera )
	{
		[camera grab:nil];
		exit(0);
	}
	
	// Oops looks like had no Camera...
	exit( -1 );
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.