in reply to Re: sockets: problems with daytime client
in thread sockets: problems with daytime client

It's my computer, and I have full admin privileges, so I would like to welcome my script with open arms.
  • Comment on Re^2: sockets: problems with daytime client

Replies are listed 'Best First'.
Re^3: sockets: problems with daytime client
by broomduster (Priest) on Jan 20, 2010 at 12:54 UTC
    So you are connecting to your own machine and asking for information from daytime. In that case, you need to be running a daytime service. 'Connection refused' means any of several things, including that there is nothing listening on the port that you connected to (or, per AM's comment, that you are being blocked or ...). OS X does not provide such a service by default. IOW, you also need to find code for a daytime service (or write your own) that listens on port 13.
Re^3: sockets: problems with daytime client
by Anonymous Monk on Jan 20, 2010 at 10:58 UTC
    You are at your home, and ask Bob for the time. There is no response, and a light bulb goes off in your head saying "Connection refused". Being at home, you have full admin privileges, but that means nothing to Bob. Is bob even in your house?