About aoe2de_s.exe TCP port 4341

Capture age uses tcp port 4341 to communicate with Age of empire 2 process. Is there a document or instructions for using this port to communicate with Aoe2 main process? I want to use this port to develop a tool to analyze records.