Startng ethernet (UIPEthernet.h) from an external class

I had a very large project witch combined ble, nfc, etherenet and a few sensors. Making the origanla project file very large (over 3000 lines of code) I then desided to implement OOP principles and move everything into its own class (ie .cpp file). Aftere this was done when calling the ethernetclient.start(server, port) it just stops no faliur or sucess.

Any ideas or help will be greatly apprichiated

Serialprint.PNG

Does your main code successfully call Ethernet.begin() and get an IP address?

Isn't that supposed to be: "ethernetclient.connect(server, port);"? That is what the Ethernet "WebClient" example shows.