Thanks, changing to "Client client = 0; " worked.
On another note: Is anyone using a simple web interface with Modbusmq, to configure IP, Gateway etc...?
Or have a suggestion as to how to get both Server, Client and different ports working together?