--- Mark Roberts <[EMAIL PROTECTED]> wrote:

Ignoring potential lisencing issues which have already been covered.

> Somehow.. I've got a bug that makes anything
> send() to a player ... starts setting the strings in the
> player (pretitle, name, title) to whatever is sent...
> but only 1 string per send(). Like:
> I have send("You're all set!"); and it sets pretitle to
> You're all set!
> And then I send a room description... and the name becomes
> the room description!! (gcc v3.2.3)

Sounds like misuse of memory..

> As best as I can tell, this might be a compiler error (I'm running
> debian sid)..

I doubt very much that your compiler is broken in such an simple way. 

> but there's the off chance that I'm doing something screwy.
> So... I'm asking some of you (You know who you are)... 
> if you'd be willing to take a look at my code.


The code you've posted looks alright. But without seeing more of it, I can't be
sure.

If you want to play with some minimalistic C++ socket codebases that don't fall
under the ROM license I believe that you can find some available on Kyndig's
website.


~Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Reply via email to