This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TcpIP

How to send uint16 (2 byte variable) in rl-arm tcpip tcp_send (socket_tcp, sendbuf, 2)
I have error with U16 *sendbuf

Parents
  • The buffers don't care what you send. But you have to memcpy() or manually place your bytes in the order you want them sent.

    And remember to define a byte order so client and server will always be able to understand each other.

Reply
  • The buffers don't care what you send. But you have to memcpy() or manually place your bytes in the order you want them sent.

    And remember to define a byte order so client and server will always be able to understand each other.

Children
No data