title: inter-process communication on local machine using socket in perl and c#
body: <p>I am working on a c# application that spawn new Processes to run Perl programs:</p>
  
  <p>I was wondering if there is a way to use socket interface to let perl program to talk to c# application. If using socket, the address has to be local host: 127.0.0.1? How to choose
  which port number to use?</p>
  
  <p>also,</p>
  
  <p>Since the C# application spawn a Process to run Perl program, is there a way to use
  inter-process communication in c# to achieve this task? I mean maybe the process that is
  running the perl can send a message to the c# appilication?</p>
  
  <p>Thanks.</p>