2 arduinos communicating over internet from different LAN's

is that example code for use on both arduinos and yes i was aware that port forwarding is to be done on the router and i do know how to do that! (sorry if i sound rude or arrogant)

thanks

J