There is a standard for serial over TCP, RFC 2217.
The linux side of it is handled by a package called sredird and the windows side can be handled by a commercial app, or if you have access to cisco.com for downloads you can use the cisco dialout utility.
Sean