(this won't compile and is not meant to)
Have a look in the UniObjects .Net pdf file for more info on this, but
here's how you can change the port number used for the connection.

public UniSession uSession;
uSession.HostPort = 12345;
uSession = UniObjects.OpenSession("Server", "LoginName", "PassWord",
"uvAccount", "uvcs");



On Mon, 28 Feb 2005 16:35:35 -0500, Nick Cipollina
<[EMAIL PROTECTED]> wrote:
> How exactly can I do this?.  (I'm new to .NET).
> 
> Thanks,
> 
> Nick Cipollina
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey
> Sent: Monday, February 28, 2005 3:29 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2][UV] UO.NET beginner question
> 
> Check the UniSession property "HostPort".  I believe that if you set
> it to match your host settings you should be OK.
> 
> On Mon, 28 Feb 2005 14:46:52 -0500, Nick Cipollina
> <[EMAIL PROTECTED]> wrote:
> > Our rpc port is set to 7200.  Is there something I need to change
> within
> > .NET to tell it to look for that port?
> >
> > Thanks,
> >
> > Nick Cipollina
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey
> > Sent: Monday, February 28, 2005 2:08 PM
> > To: u2-users@listserver.u2ug.org
> > Subject: Re: [U2][UV] UO.NET beginner question
> >
> > Make sure the remote machine has the uniobjects port enabled and there
> > are no firewalls between you and it that also block this port.  On an
> > HP-UX machine this is port 31438.  Have a look at the services file in
> > /etc and make sure this line is in there somewhere.
> >
> > uvrpc           31438/tcp                       # uvNet rpc port
> >
> > On Mon, 28 Feb 2005 12:49:04 -0500, Nick Cipollina
> > <[EMAIL PROTECTED]> wrote:
> > > Hello all,
> > >
> > > I've got a dumb UO.NET question to ask.  I am trying to write a
> simple
> > > UO.NET program to connect to one of our UniVerse servers and I am
> > > getting the following error:  "No connection could be made because
> the
> > > target machine actively refused it."  Any ideas what I am missing?
> > > Thanks.
> > >
> > > Nick Cipollina
> > >
> > > Pick Programmer
> > >
> > > ACS - Heritage Information Systems, Inc.
> > >
> > > 2810 North Parham Road, Suite 210
> > >
> > > Richmond, VA 23294
> > >
> > > (804)644-8707 x 314
> > > -------
> > > u2-users mailing list
> > > u2-users@listserver.u2ug.org
> > > To unsubscribe please visit http://listserver.u2ug.org/
> > -------
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> > -------
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to