ASCII encoding and byte array

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

  1. giusticce

    giusticce

    Joined:
    Aug 18, 2008
    Messages:
    1
    Likes Received:
    0
    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. Advertisements

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:
    41,329
    Roedy Green
    Aug 5, 2003
  2. Kirby
    Replies:
    3
    Views:
    932
    Kirby
    Oct 8, 2004
  3. jeff@foundrymusic.com
    Replies:
    20
    Views:
    10,525
    licebmi
    Sep 7, 2009
  4. klappnase
    Replies:
    1
    Views:
    393
    Martin v. =?iso-8859-15?q?L=F6wis?=
    Nov 17, 2003
  5. Baby Lion
    Replies:
    2
    Views:
    498
    Baby Lion
    Oct 2, 2006
  6. TOXiC
    Replies:
    5
    Views:
    1,661
    TOXiC
    Jan 31, 2007
  7. Tom McGlynn
    Replies:
    4
    Views:
    1,065
    Mark Space
    Apr 19, 2008
  8. Tom McGlynn
    Replies:
    2
    Views:
    516
    Andreas Leitgeb
    Apr 18, 2008
Loading...