i want to create some service that will run as simple process and will give some other application the possibility to send him xml stream.
What i mean is to create
Yes, of course you can use a TCP socket connection .If you want to avoid network connection as enlightened in a comment you can use a shared memory approach, for example with Memory-Mapped Files .