int selected(int port, object user)
int selected(int port, User user)
int selected(int port, object user){	if(previous_object() != binaryd) {		error("illegal call");	}	/* Initially we always use the default application */	user->set_application(				applications[default_apps[port]][HTAPP_OBJECT]			);	user->set_port(port);	return 1;}