I recently conquered USB communication with a PIC18xxK50 and HIDmaker software. Trace is the company that produces HIDmaker. They also have TCPmaker for ethernet. Review Dr. Bob's site for ideas:

http://www.tracesystemsinc.com/Table/tcp/tcpmaker/