 | HELP - If anyone has a solution to this problem please email me at thomasma@us.ibm.com
. |
 | If you connect to a socket (or attempt to connect), then close the
window/document and then Apple-Q the process the MAC will HANG (sometime
shows an error or may freeze - in all cases you must reboot). This
is almost solid with IE and intermittent with Netscape. The
above link will give you the source so you can test. |
 | The test above ("Flash5Socket.html") will not hang the MAC
if the hostname is "127.0.0.1" because Flash5 will not attempt to connect to a socket outside of the
current host domain. Download the files and run it on the local
MAC to see the crash.
 | Note: If you change the hostname to michael-thomas.com then it
will try to connect. I've had varying results on a MAC:
sometimes will hang if you close the document, then Apple-Q the
process or shut your MAC down. |
|
 | My environment which crashes
 | OS9.1 |
 | IE 5 w/Flash5 v41 |
 | Netscape v4.78 w/Flash5 v41 |
 | Other's that crash
 | OS9.2 G4 IE5.5 |
 | OS9.1 G4 IE 5 - crashes less frequently. |
 | OS9.1 G3 IE 5 - crashes less frequently. |
|
 | Workaround - Some environments crash less if you close process
by: Menu, File, Quit.
|
|
 | Installation steps
 | Download the above .zip file: Flash5Socket.zip . It is the
first link on this page. |
 | You must have the MRJ SDK (Java SDK) installed. Click
here for more information. |
 | Create a file that will launch the SocketServer application.
 | Open the folder which contains the files you extracted. |
 | Double click on your drive icon. |
 | Open the following folders (your versions may be different):
MRJSDK2.2\Tools\Applications Builder\JBindery |
 | Drag the Flash5SocketServer.class file onto the JBindery file.
 | Classname: Flash5SocketServer |
 | Options: 8888 <your can leave blank or use any
port #> |
 | Click on "Save Settings" |
 | Type: Flash5SocketServer 8888 |
 | Click "Save" |
 | Click "Run" |
 | From now on you may double click the new file that was
created and run the SocketServer: Flash5SocketServer
8888 |
|
 | Now double click on Flas5Socekt.html
 | Click on "Socket: Open" - This will open the
XMLSocket |
 | Click on "Send XML" - This will send data to the
socket. |
|
|
|