I/O problem with networking

I have a prototype board that I’m porting code (adding new features as well) to (using UCOS II on a RCM3000a), I have 8 LEDs hanging off a 74HC373 on I3(0x6000) , one of the outputs is a heartbeat and it works great until I add the TCP task then things go haywire, it looks like something else is overwriting the port, the heartbeat still flashes but most of the other LED’s flicker.
I commented out function calls to see what was causing the problem and came down to 2 functions.

Something in these 2 function calls are causing my issue. I was wondering if anyone else has had an issue like this before and can save me the trouble of going through the huge TCP lib.