No problem, I'm trying to make my code clear and understandable for everyone.. Maybe it wasn't clear that i was sending an integer.. In a later stadium this bytearray will be filled with more values,...
Type: Posts; User: djnicovski
No problem, I'm trying to make my code clear and understandable for everyone.. Maybe it wasn't clear that i was sending an integer.. In a later stadium this bytearray will be filled with more values,...
ok, I just found out (simply misreading the documentation) that writeUTF appends 16 bits with the length of the string to the beginning of the bytearray.. I also found that the writeUTFBytes does not...
for receiving data, I do nothing more than create a socket, initialize it (I followed the C++ WinSock tutorial from Homepage - MadWizard.org, and then receive the data on the server. this is done by...
I have noticed that the buffer is empty, but why does the size of the buffer (retval) is 6.. and why can i convert the result to some value.. As you can see, the third byte does contain the value 3.....
tempBuffer is expected to contain the data sent by the flash client (as you can see in the first part) the data sent is 4 bytes.. allthough the data received is 6 bytes. The last of these bytes is...
it's been a while since i made this post, and I want to thank the people that responded. but despite the fact that I have been pointed in the right direction, not everything is clear to me.. I have...
currently I receive an array of characters, and my intention is to check the first 2 bytes that are in that array. I am assuming that a character is the size of 1 byte. After that, I want to check...
I'll try to explain it a bit more
// headers
using namespace std;
int main()
{
char *temp1 = "03061988";
Hello people on this forum.. this is my first post here, but i'm sure i will post more and more as I'm working on a project with several students.. I hope I can learn a lot here. C++ isn't my first...