PDA

View Full Version : ***PLEASE READ*** Issues regarding ElectroServer client examples.



MikeParks
04-10-2009, 03:33 AM
If you are using any of the example applications found on our wiki (http://www.es-wiki.com/) or within the installation packages and are experiencing issues connection issues or "Requested string is longer than available data" errors, please read on.

The issue is caused by some minor changes and enhancements to the ElectroServer on both the client & server sides. These changes, while being transparent to the end user, have caused some issues with using clients built with older client APIs on newer versions of ElectroServer. The solution to this is to assure that all client applications & server extensions being developed for ElectroServer are using the APIs for the desired version of ElectroServer. In addition, it is suggested that you use the most recent version of the Java VM with ElectroServer unless otherwise noted.

While this isn't often an issue, it is usually good practice as it assures you have the most recent changes for that particular version. We do strive to bring you the best socket server solution for your needs and we appreciate it when these things are brought to our attention.

gekhua
07-06-2009, 01:55 PM
[The solution to this is to assure that all client applications & server extensions being developed for ElectroServer are using the APIs for the desired version of ElectroServer.]

If the included examples with the installation are updated for the desired version, then this will no longer be an issue.

The truth is - i have just downloaded and installed ES v4.06, and as stated in the mail above, I keep getting the "GenericErrorResponse" and "Requested string is longer than available data" errors and i could hardly move beyond the SimpleChat example. What a letdown ...

Now, i do not know whether the errors are truly due to the included code not compatible with the latest version of ES 4.06, or other issues ...

tcarr
07-06-2009, 04:32 PM
The AS3 examples included in the installation should work correctly. The above post was about examples posted on the wiki.

I imagine that you have a problem with your setup, either the ES4 or the XML file for the SimpleChat. I suggest that you start a new thread and give more details on the error messages you are getting. Perhaps it's a simple case of using the wrong port or protocol.