title: Sharing serial port (Modem protocol + dialer)
body: <p>I wanted to use this code to send archives with Xmodem: <a href="http://www.java2s.com/Code/Java/Network-Protocol/JModemsimplecommunicationsprogram.htm" rel="nofollow noreferrer">http://www.java2s.com/Code/Java/Network-Protocol/JModemsimplecommunicationsprogram.htm</a></p>
  
  <p>In this case, I want to establish a dialup connection between two computers and send a binary file. But this code doesn't let me set a phone number to dial after i setup the port and before I transfer the file. Is there any way of sharing the port with another application that dials the phone number? </p>