Failed to retrieve directory listing IIS FTP when used with external (outside firewall) address

I’m trying to configure an FTP site with IIS on Windows 10. Active connections made to the server’s internal (behind the firewall) address work properly (e.g. 10.0.1.4), but any type of connection (active or passive) to the external IP for the server fails. Passive connections (using these is my goal) fail giving a “Failed to…

Details

Listen to a solidity event from a smart contract function

I have the following event: event WaitingPlayer2(address indexed player2); Which I call through: function partecipateAsPlayer2(address player2) public{ emit WaitingPlayer2(player2); } Is it possible to wait in a smart contract function for that even to be fired? Like this: function startGame(address requiredPlayer2){ //get the WaitingPlayer2 event with requiredPlayer2 address }

Details