ASCII encoding and byte array

Discussion in 'C Programming' started by giusticce, Aug 18, 2008.

  1. giusticce

    giusticce

    Joined:
    Aug 18, 2008
    Messages:
    1
    Hello,
    I'm trying to turn a string into an array of ASCII encoded bytes to send over a TCP connection. I know there is a simple solution to this in the CLR using the System namespace, however I'm using the Boost library and it isn't compatible with CLR.

    How else can I accomplish this encoding? Is there another portable library I can use?

    Thanks for the help.
     
    giusticce, Aug 18, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bharat Bhushan

    Appending byte[] to another byte[] array

    Bharat Bhushan, Aug 5, 2003, in forum: Java
    Replies:
    15
    Views:
    40,307
    Roedy Green
    Aug 5, 2003
  2. Kirby
    Replies:
    3
    Views:
    657
    Kirby
    Oct 8, 2004
  3. jeff@foundrymusic.com
    Replies:
    20
    Views:
    9,843
    licebmi
    Sep 7, 2009
  4. Tom McGlynn
    Replies:
    4
    Views:
    870
    Mark Space
    Apr 19, 2008
  5. Patricia Shanahan
    Replies:
    0
    Views:
    398
    Patricia Shanahan
    Apr 17, 2008
Loading...

Share This Page