[Tutor] stuck again - socket connection

nephish nephish at xit.net
Tue Feb 7 17:58:52 CET 2006


ok, i am stuck again. 


from the docs, the byte stream is supposed to look like this: 


'S' 'T' 'X'   [length indicator] [message type] [message] 'E' 'N' 'X' 


the length indicator it says is a four byte integer number of a value N 
 ( N would be how long the message body is ) 


the message type comes from a table in the docs. In my case, the 
message type is 200. This is also supposed to be sent as  a 4 byte 
value. 


so..... how do i make 200 occupy 4 bytes ? 




More information about the Tutor mailing list