linux communications modes

what r the ways in which a linux application communicate with an external system like linux or windows?

Google for IPC or interprocess communication.