By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

string and byte to bytes and byte to string and byte

P: 1
im doing a basic multithread socket programming based on and i have a simple chat. problem now is i want add sending and recieving file. What i'm going to try is to send a message together with the bytes and convert this to a stream and send it to the network, and when the server recived the stream and it confirms that this is a file, the stream will become a string and a byte

problem is, i dont know what would i use to mix and seperate the string and stream from a byte
Apr 25 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.