Ciao, i have a gemstone 3.4.2 run on Ubuntu system. Sometime the internet connection is down or the provider's DNS server don't answer. In these cases when i do, from tode shell, the command: GsSocket getHostAddressByName: 'www.gemtalksystems.com'. the tode shell is blocked for 100 seconds. After the tode report:
How i can manage this problematic ? I can define a relative timeout ? Other question: when the dns works the system replies a string like: how i can, which is the best way, to translate it to Ipv4 ? Thanks, Dario _______________________________________________ Glass mailing list [hidden email] https://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario,
At the moment there is no way to set a timeout on the `getHostAddressByName:` call, but we may add that feature in a future release so keeps your eyes peeled. It might be possible to change the time out by modifying /etc/resolv.conf. If the result begins with '::ffff:' then you should be able to just remove that prefix from the result and have an IPv4 address. Dale
On 4/24/20 7:57 AM, dario.trussardi65
via Glass wrote:
_______________________________________________ Glass mailing list [hidden email] https://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |