Re: [Tutor] question about ascii and bytes

2006-02-06 Thread Alan Gauld
> the server wants to get info a certain way. Each message has to start > with an ascii "STX" (literally the three letters, not the standart ascii > 'STX') then it has to have another four bytes that give the length of > the message, then the message itself, then end with an ascii "ENX" > (again,t

[Tutor] question about ascii and bytes

2006-02-06 Thread nephish
ok, so i have sparce documentation from a server that i need to make a socket connection with. the server wants to get info a certain way. Each message has to start with an ascii "STX" (literally the three letters, not the standart ascii 'STX') then it has to have another four bytes that give the