Results 1 to 4 of 4

Thread: UDP Problem

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    6

    UDP Problem

    I use UDP to connec a hardware.
    I can get the code from winsock, but the code seem error.
    À¨7HDLMIRACLEªªeÐïÿÿÿ
    Is the code error?

    And then I need to change the code to 16bit & 8bit
    How can I do?
    Thanks a lot.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: UDP Problem

    You're not giving us enough information. "The code seem error", what do you mean?

    Is this what you're receiving? À¨7HDLMIRACLEªªeÐïÿÿÿ
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: UDP Problem

    Where is the code coming from? Do you have a way to verify what is coming across?

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    6

    Re: UDP Problem

    Sorry
    I have talked with supplier.
    The supplier told me that the hardware is communicated in WinSock.
    He use Delphi to example the data.
    This hardware is used "sendto" and "recvfrom".
    I need to define the data some parts are 8 bits and some are 16 bits.
    Then the data will be 0xAA 0xAA 0x0d 0x01 0x64 0x00 0x00 0x00 0x02 0x01 0x02 0x01 0x01 0x5F 0x48 .

    Would you mind telling me how can I receive the data?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width