If one tries to call the constructor TCPIPConnection(String address, int
port) with a hostname shorter than 7 characters, it is considered invalid
hostname and connects to localhost.
The constraint is without any reason because a construct new
TCPIPConnection("smpp", 7890) is legal and valid and must connect to the
addres resolved for "smpp".
Fortunately there is a constructor which permits the creation of
TCPIPConnection with a connected socket instance.
Abhik Sarkar
None
None
Public
|
Date: 2009-11-17 09:02 It seems that the original coder made the assumption that the address will |
|
Date: 2009-09-23 06:28 Hi Zsido, |
| Field | Old Value | Date | By |
|---|---|---|---|
| assigned_to | nobody | 2009-09-23 06:28 | abhiksarkar |
| summary | Hostname length lower than 7 characters ar not allowed | 2009-08-06 10:34 | zsjoska |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use