Socat symlink - Can't open COM

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite
1












I installed socat and set up a virtual serial port over TCP:IP to communicate to an RS232 device remotely



socat pty,link=/dev/virtualcom0,raw,b115200,user=master tcp:192.101.1.198:4000


I can send data properly by using echo "data" > /dev/virtualcom0



My problem is, I need to launch a software who try to open the COM port /dev/virtualcom0 but it return me Can't open port COM: /dev/virtualcom0 bad arguments



The program is using System.IO.Ports SerialPort and return me the error when it launches the function Open(), more details about this, can be found here.



So I think the program can't Open the COM because it's not a real Port COM but a symlink.



Any idea how I can do it?



Best Regards,










share|improve this question



























    up vote
    0
    down vote

    favorite
    1












    I installed socat and set up a virtual serial port over TCP:IP to communicate to an RS232 device remotely



    socat pty,link=/dev/virtualcom0,raw,b115200,user=master tcp:192.101.1.198:4000


    I can send data properly by using echo "data" > /dev/virtualcom0



    My problem is, I need to launch a software who try to open the COM port /dev/virtualcom0 but it return me Can't open port COM: /dev/virtualcom0 bad arguments



    The program is using System.IO.Ports SerialPort and return me the error when it launches the function Open(), more details about this, can be found here.



    So I think the program can't Open the COM because it's not a real Port COM but a symlink.



    Any idea how I can do it?



    Best Regards,










    share|improve this question

























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I installed socat and set up a virtual serial port over TCP:IP to communicate to an RS232 device remotely



      socat pty,link=/dev/virtualcom0,raw,b115200,user=master tcp:192.101.1.198:4000


      I can send data properly by using echo "data" > /dev/virtualcom0



      My problem is, I need to launch a software who try to open the COM port /dev/virtualcom0 but it return me Can't open port COM: /dev/virtualcom0 bad arguments



      The program is using System.IO.Ports SerialPort and return me the error when it launches the function Open(), more details about this, can be found here.



      So I think the program can't Open the COM because it's not a real Port COM but a symlink.



      Any idea how I can do it?



      Best Regards,










      share|improve this question















      I installed socat and set up a virtual serial port over TCP:IP to communicate to an RS232 device remotely



      socat pty,link=/dev/virtualcom0,raw,b115200,user=master tcp:192.101.1.198:4000


      I can send data properly by using echo "data" > /dev/virtualcom0



      My problem is, I need to launch a software who try to open the COM port /dev/virtualcom0 but it return me Can't open port COM: /dev/virtualcom0 bad arguments



      The program is using System.IO.Ports SerialPort and return me the error when it launches the function Open(), more details about this, can be found here.



      So I think the program can't Open the COM because it's not a real Port COM but a symlink.



      Any idea how I can do it?



      Best Regards,







      14.04 symbolic-link serial-port tcp-ip






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 1 at 10:59









      galoget

      2,1162820




      2,1162820










      asked Feb 1 at 9:57









      Guillaume Brulet

      12




      12

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002033%2fsocat-symlink-cant-open-com%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002033%2fsocat-symlink-cant-open-com%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491