Hello Bruce,
right after the webinar I started this Websockets example here, following your steps, but it does not work.
This is what I see in DebugView++:
[st] [netTalk][thread=3] SendError = 400 Bad request : Failed to accept key FileRequest=[index.htm]
[st] [netTalk][thread=3] NetSimple.ErrorTrap -34 Error sending data NetSimple.Send
[st] [netTalk][thread=3] Prompt::RectWidth :
When I closed the two clients, I get a GPF-message from Clarion itself:
Clarion Version : 11.0.0.13244
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 6.2.9200.0
Current culture : German (Germany) (de-DE)
Working Set Memory : 218352kb
GC Heap Memory : 29908kb
Unhandled exception
Exception Type: System.ArgumentException
Exception Type: System.ArgumentException
Exception thrown:
System.ArgumentException: Illegales Zeichen im Pfad.
bei System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
bei System.IO.Path.GetFileName(String path)
bei System.IO.FileSystemWatcher.MatchPattern(String relativePath)
bei System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
bei System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
##################################################
Then I tried the Web82 Example for websockets.
[st] [netTalk][thread=3] p_wexta= Title="Click here to sort by Mail Box Name"
[st] [netTalk][thread=3] p_wexta= Title="Click here to sort by Size Limit"
[st] [netTalk][thread=3] p_wexta= Title="Click here to sort by Forward Address"
[st] [netTalk][thread=3] p_wexta= Title="Click here to sort by Start Date"
[st] [netTalk][thread=5] NetSimple.ErrorTrap -34 Unable to Close connection NetSimple.CloseServerConnection
[st] [netTalk][thread=3] NetSimple.ErrorTrap -40 Error sending data NetSimple.Send
[st] [netTalk][thread=3] NetSimple.ErrorTrap -34 Unable to Close connection NetSimple.CloseServerConnection
[st] [netTalk][thread=3] SendError = 400 Bad request : Failed to accept key FileRequest=[index.htm]
[st] [netTalk][thread=3] NetSimple.ErrorTrap -40 Error sending data NetSimple.Send
[st] [netTalk][thread=3] NetSimple.ErrorTrap -34 Unable to Close connection NetSimple.CloseServerConnection
[st] [netTalk][thread=3] NetSimple.ErrorTrap -40 Error sending data NetSimple.Send
....
I added a file "index.htm" to the web-folder, but still the same errors.
And (btw) again the error when pressing the "Change" button.
Alert1. Record not found: (-2) Error 30: Entry Not Found from key MAI:PrimaryKey
Maybe someone could test and compare? TIA
NT 11.04 and all other stuff are the very recent releases.
Wolfgang