placed in the socket before connection