libs-base/Examples/nx-server.m
Andrew McCallum 2b5de0130d Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@749 72102866-910b-0410-8b05-ffd578937521
1996-01-22 23:04:48 +00:00

15 lines
244 B
Objective-C

#include <remote/NXConnection.h>
#include <objc/List.h>
int main(int argc, char *argv[])
{
id s = [[List alloc] init];
id c;
[s addObject:[Object new]];
c = [NXConnection registerRoot:s withName:"nxserver"];
[c run];
exit(0);
}