[DUG]: Multiple Socket Servers

2001-10-23 Thread Stacey Verner



I have had a look at 
the code for the Socket Server in D6, and I can change the Registry path that it 
uses so it can have a different port list to the D4 socket server, but I have 
twomore question.

Firstly. The code 
(as follows) contains a comment which says "Do not localize" (which I have seen 
throughout the VCL code),
Is there a good 
reason for this, or should everything work fine when I change 
it?
I have tested it and 
its certainly seems fine in the short term, but it seems to take time for these 
things to fail.
...
const //Do 
not localize KEY_SOCKETSERVER = '\SOFTWARE\Borland\Socket 
Server'; 
KEY_IE = 
'SOFTWARE\Microsoft\Internet Explorer';
...

Secondly. The D6 
Socket Server has an option "Registered Objects Only". When this is checked my 
AppServers are not available, and if it is not checked my AppServers are 
available. How do I register an AppServer to be visible to Socket Server when 
this is checked, and does it make a difference.?

Thanks

Stacey

Stacey 
Verner 
Ph: +64-9-4154790Software 
Developer Fax: 
+64-9-4154791 
DDI: +64-9-4154797CJN Technologies Ltd. Email: 
[EMAIL PROTECTED]PO Box 302-278, North Harbour, Auckland 1330, New Zealand12 
Piermark Drive, North Harbour, Auckland, New ZealandVisit our website at http://www.cjntech.co.nz/ 





Re: [DUG]: Multiple Socket Servers

2001-10-22 Thread Nic Wise



Um, in the properties, you can select the port 
(deft. is 211), but, if you are running it all on one machine, just use COM! its 
quicker! if you are going overa net, then use sockets. or DCOM. Or 
CORBAetc.

  - Original Message - 
  From: 
  Stacey 
  Verner 
  To: Multiple recipients of list delphi 
  
  Sent: Tuesday, October 23, 2001 3:56 
  PM
  Subject: [DUG]: Multiple Socket 
  Servers
  
  How do I run 
  multiple socket servers with different ports?
  
  The D4 and D6 
  socket servers seem to use the same list of ports.
  
  I assume I need a 
  command line parameter but I can't fins the info anywhere.
  
  Stacey
  
  Stacey 
  Verner 
  Ph: +64-9-4154790Software 
  Developer Fax: 
  +64-9-4154791 
  DDI: +64-9-4154797CJN Technologies Ltd. 
  Email: [EMAIL PROTECTED]PO Box 302-278, North Harbour, Auckland 1330, New Zealand12 
  Piermark Drive, North Harbour, Auckland, New ZealandVisit our website at 
  http://www.cjntech.co.nz/