Delphi tcp server. I guess you can use Indy's components to do that.