Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Terrarium communication problems
 

Terrarium communication problems

Recently it seems that I had to restart my terrarium quite often because it somehow got stuck when communicating with other peers. When this happens, I see one of the lights (either receiving or sending) is forever yellow without being able to turn to either green or red. Should it time out after certain time during a failed communication attempt? But from what I observed, sometime a bad communication and jam the link so that no further communications are possible anymore without rebooting. When that happens, everything else within the system still works fine. The only thing that stopped working is the remote teleportation. 

Has anybody else seen this problem? I also notice that this jamming could also be caused by certain newer creatures only (not sure which one), because before several days ago, this never occurred for the new version. 

That's probably one of the reasons that even though there are about 40 peers at this time, there are only 4-5 valid peers talking to my system at most of the time. I would expect 20 peers talking to me if everything worked correctly.

MigrationUser 1  Monday, December 15, 2003 9:45 PM
Not having worked with the Terrarium team for many months now, I don't know the current state of the code.  However, I wrote a fix for a possible issue that might cause teleportation to hang completely until a reboot and it is based on something or somethings a creature can do.  I will say the freeze was only theoretical, and I never actually got a Terrarium without the fix to actually freeze.  Maybe someone figured out how to do it, or simply stumbled on it because of an error in their code.

Either way, I hope this hasn't happened because my fix never made it into the Terrarium codebase since it was VERY intrusive to the existing code and we would have had to do a LOT of testing on the application afterwards to make sure other things didn't break.

These are just my vague ramblings and remembrances though.
MigrationUser 1  Tuesday, December 16, 2003 3:26 AM
I've seen this occur from time to time.  It seems to occur for a few days / weeks then it goes away.  I never associated it with a critter.  If it was caused by a critter, how did the critter make it to my Terrarium in the first place (if it hung the communication channel while teleporting)?  I figured it was more related to a "bad" Terrarium client causing others to hang, although that's just a hunch.
MigrationUser 1  Tuesday, December 16, 2003 6:29 PM
The creature assembly is teleported prior to the state.  That means the creature could be on your machine.  Then when the state gets teleported, and during the instantiation of that creature on your machine is actually where the teleport can get hung.  I can't really comment on this more, because I think I know exactly how it was done now, and I'm almost completely certain it hasn't been and won't be fixed in the near future.
MigrationUser 1  Tuesday, December 16, 2003 10:34 PM

You can use google to search for other answers

Custom Search

More Threads

• DataGrid formatting not possible in .Net CF?
• Update of Projects
• ExpandableList Paint Bug
• Terrarium Server [Beta1] installed !!
• SQLHelper.ExecuteReader error.
• Can not receive animals
• Can't Install Terrarium
• FileNotFoud Exception???
• Length of Turn - Microseconds
• pocket taskvision + vs2005 + emulator