problem about byte-Collection of common programming errors
user2469060
java javascript websocket byte unsigned
I will try to explain my problem without attaching any code, I think that that is not needed. Okay, I have a websocket client in JS that connects to my java server. The handshake is done, connected handler is called on the client, so I send a message to server, wich is readed. Then the message is reversed and sended back to the client, but the client messagerecived handler or any other handler are not called.This is the message that I send to the client:b[0]=-127;//Its the same of 129? b[1]=1; b[2]=18;//any char..I think that the problem must be on the first byte. I w
Hesam Qodsi
c++ byte
Consider this code :typedef union {int integer_;char mem_[4]; } MemoryView;int main() {MemoryView mv;mv.integer_ = (int)’\xff’;for(int i=0;i
Originally posted 2013-11-09 18:43:38.