Quote:
have specified the port for the socket as 80 but the local port (as is seen from my log in the personal firewall) is said to be 1527
When you open a socket it has to have a port associated with it... Regardless whether or not it is setup to listen for incoming connections... So when you tell it to port 80... the socket is created and seeing how you are connecting to something it picks a non-standard port number... usually over 1000... This way the remote machine can send data back to you...