Thread: 16-Bit data transmission and reception

  1. #1
    Registered User
    Join Date
    Mar 2017
    Posts
    52

    16-Bit data transmission and reception

    Hi,

    Can anyone help me in coding section, how to transfer 16 bit (binary bits), and i should get the output (16 binary bits) same as input.

    I used IF statement for execution. But its not working. Is it possible to transfer 16 bit and to get the output same as input.

    Which Loop is best ? to start the execution.

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Transmit through a network? Are you using sockets?
    Devoted my life to programming...

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    if statements don't send information.

    API calls like write() and send() do that.

    Post your actual code, not some vague "I tried ...".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reception of out-of-order Ethernet frames on RAW socket
    By studywireless in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-02-2016, 12:10 AM
  2. file transmission with ftp
    By Picachu in forum C Programming
    Replies: 3
    Last Post: 01-11-2007, 06:37 AM
  3. serial port data transmission
    By djarian in forum C Programming
    Replies: 2
    Last Post: 10-04-2003, 02:22 PM
  4. IE end of transmission?
    By Sebastiani in forum C++ Programming
    Replies: 7
    Last Post: 10-22-2002, 05:31 PM

Tags for this Thread