Announcement

Collapse
No announcement yet.

Sending data through tcp/ip to windows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sending data through tcp/ip to windows

    Dear Power Friends....

    I have a DOS program (PB/DOS 3.5) thats send data through TCP/IP
    to a Windows Program (PB Win 7.0), that is to say, the DOS program is
    a Host, and the Windows program is the Client. I´m using the Gerhard
    Zugarek library and DOS Trumpet NTCPDRV.EXE with a NIC packet driver
    (http://www.powerbasic.com/files/pub/pbdos/inet/TCPABI.zip).

    The sent data are numeric, for that which I convert them using
    the instruction MKMS$, when receiving the data in the client use
    the associate function CVS, but the problem is that the ASCII codes
    that Windows manages differ of those of DOS.

    In consequence the received data are not the same ones.

    How can I make so that both programs use the same code?

    Thank in advance ....



    ------------------
    Gustavo Asplanatti
    [email protected]
    Gustavo Asplanatti
    gustavoa at computecsrl.com.ar

  • #2
    CVS goes with MKS$, no? MKMS$ uses a different format.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment


    • #3
      Ooooops !!!

      My problem is that I always magnify the errors.
      When more simple of solving, it is more difficult to find
      the diagnosis.

      Thanks Tom !


      ------------------
      Gustavo Asplanatti
      [email protected]
      Gustavo Asplanatti
      gustavoa at computecsrl.com.ar

      Comment

      Working...
      X