This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Siiigh, I have SUCH a tendency to put everything in the header. :-) I
want to move a chunk of data, about 700 or 800 bytes, though it can
probably be compressed down to 400-500 with a good bit of closer
inspection of variable types, from the client to the server. My question
is, how is something like this done?

Some thoughts:

A)      Create a "updatedata" command with two arguments, one for the
name of the field and one for the value of the field. This is simple,
but there are about 100 fields, so I worry about message overload. This
really isn't the sort of thing that I can amortize, so I'd have to send
them all over at once.

B)      Instead of sending an updatedata command for each field, encode
the data into a big long char stream and send it over. First of all,
there are problems with sending encoded chars, specifically the problem
of 0. Obviously I can constrain a short to 255*255, but this is just
nasty, and I don't FEEL like it, damnit. If it's necessary, obviously
it'll be done, but I want to try other options.

C)      I dunno, some sort of file transfer, something. Help me out
here. :-)

Persuter
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to