Home Server

TrsConnection.Address problem

edited February 2005 in Server
Hi,
I use RBS 7.04b.
My test environment is a winn2003server in a intranet.
When I change the servername to 123alpha I get a error: Unable to connect to
server.
My rbWebTier.ini example:

[ServerConnection]
Address=123alpha
Port=1333
TimeOut=60

Now I found out when I change the servername to alpha (without numbers) my
Report.dll
works correct. (I know that I can use the IP address.)

[ServerConnection]
Address=alpha


When the name begins at first with a number the Report.dll can not connect
to server.


regards

Beach

Comments

  • edited February 2005

    This is a limitation imposed by the low level Delphi socket code that RB
    Server is using.

    I researched this one by using the debugger to trace into the Delphi source
    code. In the unit Sockets.pas, there is a method called
    TIPSocket.LookupHostAddr. It contains some logic that checks whether the
    first character is in [0..9] and assumes its an IP address rather than
    performing a lookup.



    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.