Turning my Raspberry Pi into a serial-to-TCP/IP bridge—any tips?

I’m trying to use a Raspberry Pi to capture data from a serial device and send it over my home network using TCP/IP. Has anyone done this before? What software or setup would you recommend to get this working smoothly on Linux?