I have a problem I want to use socket to connect to whois servers through port 43, but it seems it's not possible or I'm doing it wrong. I've tested socketio and jsXMLsocket, but no luck.
With PHP is easy to do it by using fsockopen('whois.crsnit.net',43); Then fputs with domain name and fgets to retrieve the result from the whois server. But I want the whois lookup to be possible at browser side, so that the server is not that much under load.
Is it possible to do it? If so, can you include some code snippet?
Thanks.