Help intergrating some code i found (Ethernet Code)....

It can be, if that function has dependencies. Network communication is not a trivial thing to implement.