GW emission from (proto-) neutron stars and binary neutron star mergers and the connection to the dense matter EoS