Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How to get the dns suffix name I need to add this suffix to hostname. :)
Which DNS suffix? Please give proper details of what you are trying to do, and what part of your code is not working.
my current machine dns suffixname.I would like to connect to remote host through tcp protocol socket.
Your DNS suffix is not going to help you to connect to a remote host; you need to know the name or IP address of the remote system itself.