Skip to content
Snippets Groups Projects
Commit 807fd8b7 authored by rswindell's avatar rswindell
Browse files

Now uses protocall name ("finger") instead of port number (70).

parent d32fe792
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ if((hp = dest.indexOf('@'))==-1) {
host = dest.slice(hp+1);
sock = new Socket();
//sock.debug = true;
if(!sock.connect(host,79))
if(!sock.connect(host,"finger"))
alert("Connection to " + host + " failed with error " + sock.last_error);
else {
sock.send(dest.slice(0,hp)+"\r\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment