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

Winsock sending of data by Bytes

100+
P: 108
Hi,

Winsock.SendData method accept parameter as String data type and I would like to send data byte by byte. How can I do it?
Nov 29 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
Winsock.SendData method accept parameter as String data type and I would like to send data byte by byte. How can I do it?
Do you have the data in a Byte array, or what? If you have it in a string and just want to send one character at a time, you could just use the Mid() or Mid$() function the grab each character in turn.

(Oh, and what version of VB are you using?)
Nov 29 '07 #2

Post your reply

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