All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
If the discharge is continuous and does not stop for a period of time for you to remain pure and pray, then you are obliged to perform ablution for every prayer after its time commences and then pray that obligatory prayer along with the supererogatory prayers that are offered before or after the obligatory one with the same ablution, and the discharge during this period does not affect you. Therefore, you should perform ablution for 'Ishaa' prayer after its time commences and not after Maghrib prayer. However, if the discharge stops for a period that is sufficient for you to perform the prayer, then you have to wait for it to stop then you make ablution and pray, provided that this waiting does not lead to missing the time of the prayer. As regards the conditions of wiping over the socks when making ablution, see Fatwa: 82001.
Allaah knows best.