Error in starting the server in pic18f4520

Is this function modified by you?
It is different from ioDriver’s function form.

I want you to re-check the code with the following information.
W5500 TCP Function Application Guide

And,

Please refer to other topic below.