<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>SuperWebSocket Discussions Rss Feed</title><link>http://superwebsocket.codeplex.com/discussions</link><description>SuperWebSocket Discussions Rss Description</description><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;If you have confirmed the server was started without problem, then make sure your certificate you are using is correct.&lt;br /&gt;
The tool which can make the certificate you need is mentioned in the doc:&lt;br /&gt;
&lt;a href="http://docs.supersocket.net/v1-5/Enable-TLS-SSL-trasnferring-layer-encryption-in-SuperSocket" rel="nofollow"&gt;http://docs.supersocket.net/v1-5/Enable-TLS-SSL-trasnferring-layer-encryption-in-SuperSocket&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Mon, 17 Jun 2013 09:48:18 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130617094818A</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;Did you find the log of SuperWebSocket? If you cannot find it, please check the doc I mentioned previously to enable it.&lt;br /&gt;
Please ensure your server instance was started successfully.&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Mon, 17 Jun 2013 09:45:48 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130617094548A</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;Hi vbguyny,&lt;br /&gt;
I am novice in terms of SSL certificates. I have looked over google but failed to understand how they are generated and then used on client.&lt;br /&gt;
Can you plz guide me on this in simple words ?&lt;br /&gt;
&lt;br /&gt;
I just want to access a secure web socket url like following:&lt;br /&gt;
   wss://my-server:8089/Test&lt;br /&gt;
&lt;/div&gt;</description><author>TopGun743</author><pubDate>Mon, 17 Jun 2013 09:41:48 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130617094148A</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;@TopGun: The issue is most likely related to the fact that the Ssl certificate isn't a valid certificate from your browser's point of view.  You need to import your ssl certificate into your browser's certificate store before trying to use wss:// &lt;br /&gt;
&lt;br /&gt;
You can Google on how to do this.&lt;br /&gt;
&lt;/div&gt;</description><author>vbguyny</author><pubDate>Sat, 15 Jun 2013 13:32:31 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615013231P</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;No, please check SuperWebSocket's log (Logs/xxx.log)&lt;br /&gt;
&lt;a href="http://docs.supersocket.net/v1-6/Logging-in-SuperSocket" rel="nofollow"&gt;http://docs.supersocket.net/v1-6/Logging-in-SuperSocket&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Sat, 15 Jun 2013 13:01:10 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615010110P</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;This is the log which gets generated in Event Viewer, whenever my web page tries to connect to web socket server either through  wss://my-pc:8089/Test  or  wss://localhost:8089/Test&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Event code: 4005 
Event message: Forms authentication failed for the request. Reason: The ticket supplied was invalid. 
Event time: 6/15/2013 5:31:08 PM 
Event time (UTC): 6/15/2013 12:31:08 PM 
Event ID: 30d6a4788f6346d4a20b699174e08efc 
Event sequence: 58 
Event occurrence: 25 
Event detail code: 50201 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/SuperWebSocketClient-1-130157722640211221 
    Trust level: Full 
    Application Virtual Path: /SuperWebSocketClient 
    Application Path: C:\Users\faisal\Documents\Visual Studio 2010\Projects\SuperWebSocketClient\SuperWebSocketClient\ 
    Machine name: MY-PC 
 
Process information: 
    Process ID: 3472 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\ASP.NET v4.0 
 
Request information: 
    Request URL: http://my-pc/SuperWebSocketClient 
    Request path: /SuperWebSocketClient 
    User host address: fe80::a028:d80a:e53:7c69/SuperWebSocketClient 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\ASP.NET v4.0 
 
Name to authenticate:  
 
Custom event details: 
&lt;/code&gt;&lt;/pre&gt;

It gives me response when I use ws protocol but not with wss.&lt;br /&gt;
I don't know which other log you are asking about. &lt;br /&gt;
I have but executed code in VS debugger line by line for checking SSL startup till   ws.Start()&lt;br /&gt;
It executes fully with no exceptions occurring.&lt;br /&gt;
&lt;/div&gt;</description><author>TopGun743</author><pubDate>Sat, 15 Jun 2013 12:49:01 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615124901P</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;Could you paste the starting log?&lt;br /&gt;
&lt;br /&gt;
For certificate, please refer to the link below:&lt;br /&gt;
&lt;a href="http://docs.supersocket.net/v1-5/Enable-TLS-SSL-trasnferring-layer-encryption-in-SuperSocket" rel="nofollow"&gt;http://docs.supersocket.net/v1-5/Enable-TLS-SSL-trasnferring-layer-encryption-in-SuperSocket&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Sat, 15 Jun 2013 12:10:22 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615121022P</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;kerry&lt;br /&gt;
Yes my websocket server has started successfully. I have checked. &lt;br /&gt;
&lt;br /&gt;
But can you explain your answer in a bit detail. &lt;br /&gt;
I am a novice when it comes to certificates. I dont know how to create a certificate and where to deploy it. &lt;br /&gt;
Please put some light on it. Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>TopGun743</author><pubDate>Sat, 15 Jun 2013 11:47:52 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615114752A</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;Are you sure the websocket server was started successfully? You can check the log for it.&lt;br /&gt;
&lt;br /&gt;
BTW, you should create a new test certificate with the CN=my-pc, because you host which is used for accessing the server is my-pc.&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Sat, 15 Jun 2013 11:32:45 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615113245A</guid></item><item><title>New Post: HOWTO: Create a simple WebSocket server</title><link>http://superwebsocket.codeplex.com/discussions/353151</link><description>&lt;div style="line-height: normal;"&gt;Hi @vbguyny&lt;br /&gt;
I am using latest version of SuperWebSocket (version 0.8), which I downloaded from SuperWebSocket site.&lt;br /&gt;
&lt;br /&gt;
After some changes in your provided code above, I am able run Web Socket server based on &lt;strong&gt;ws&lt;/strong&gt; protocol.&lt;br /&gt;
I have created a test web socket client project in Asp.Net MVC and I make connection call to server using syntax like:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;     ws://my-pc:8089/Test&lt;/code&gt;&lt;/pre&gt;

It works fine in ws. But when I try to run it in secure mode using https.... after a while, Firefox gives me following message in Browser console:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;     Firefox can't establish a connection to the server at wss://my-pc:8089/Test&lt;/code&gt;&lt;/pre&gt;

My server side code for button1 click event is as following:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;            SuperSocket.SocketBase.Config.RootConfig r = new SuperSocket.SocketBase.Config.RootConfig();

            SuperSocket.SocketBase.Config.ServerConfig s = new SuperSocket.SocketBase.Config.ServerConfig();
            s.Name = &amp;quot;SuperWebSocket&amp;quot;;
            s.Ip = &amp;quot;Any&amp;quot;;
            s.Port = 8089;
            s.Mode = SocketMode.Tcp;

            if (checkBox1.Checked == true)
            {
                s.Mode = SocketMode.Tcp;
                s.Security = &amp;quot;tls&amp;quot;;

                SuperSocket.SocketBase.Config.CertificateConfig cert = new SuperSocket.SocketBase.Config.CertificateConfig();

                string pathToBaseDir = System.IO.Directory.GetParent(Environment.CurrentDirectory).Parent.FullName;

                cert.FilePath = System.IO.Path.Combine(pathToBaseDir, &amp;quot;localhost.pfx&amp;quot;);
                System.Diagnostics.Debug.Assert(System.IO.File.Exists(cert.FilePath));
                cert.Password = &amp;quot;supersocket&amp;quot;;
                
                s.Certificate = cert;
            }

            SuperSocket.SocketEngine.SocketServerFactory f = new SuperSocket.SocketEngine.SocketServerFactory();

            if (ws != null)
            {
                ws.Stop();
                ws = null;
            }

            ws = new WebSocketServer();
            ws.Setup(r, s, f);
            ws.NewSessionConnected += new SessionHandler&amp;lt;WebSocketSession&amp;gt;(ws_NewSessionConnected);
            ws.NewMessageReceived += new SessionHandler&amp;lt;WebSocketSession, string&amp;gt;(ws_NewMessageReceived);
            ws.NewDataReceived += new SessionHandler&amp;lt;WebSocketSession, byte[]&amp;gt;(ws_NewDataReceived);
            ws.Start();&lt;/code&gt;&lt;/pre&gt;

Its not working for wss case. &lt;br /&gt;
Please guide me where I am getting wrong. Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>TopGun743</author><pubDate>Sat, 15 Jun 2013 10:38:15 GMT</pubDate><guid isPermaLink="false">New Post: HOWTO: Create a simple WebSocket server 20130615103815A</guid></item><item><title>New Post: SuperWebSocket as client?</title><link>http://superwebsocket.codeplex.com/discussions/446465</link><description>&lt;div style="line-height: normal;"&gt;Guess it figured it out: I probably needed to use WebSocket4Net.&lt;br /&gt;
&lt;/div&gt;</description><author>DierkDroth</author><pubDate>Sun, 09 Jun 2013 13:05:21 GMT</pubDate><guid isPermaLink="false">New Post: SuperWebSocket as client? 20130609010521P</guid></item><item><title>New Post: SuperWebSocket as client?</title><link>http://superwebsocket.codeplex.com/discussions/446465</link><description>&lt;div style="line-height: normal;"&gt;I would like to use SuperWebSocket to connect to an existing WebSocket server. Is that even possible? If so, is there any documentation or are there any samples available?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;/div&gt;</description><author>DierkDroth</author><pubDate>Sun, 09 Jun 2013 12:24:51 GMT</pubDate><guid isPermaLink="false">New Post: SuperWebSocket as client? 20130609122451P</guid></item><item><title>New Post: SuperWebSocket and Wireshark</title><link>http://superwebsocket.codeplex.com/discussions/437364</link><description>&lt;div style="line-height: normal;"&gt;I updated my wireshark install to a 1.9.x version and it properly decoded the traffic.&lt;br /&gt;
&lt;/div&gt;</description><author>wakelt</author><pubDate>Wed, 05 Jun 2013 09:59:35 GMT</pubDate><guid isPermaLink="false">New Post: SuperWebSocket and Wireshark 20130605095935A</guid></item><item><title>New Post: SuperWebSocket and Wireshark</title><link>http://superwebsocket.codeplex.com/discussions/437364</link><description>&lt;div style="line-height: normal;"&gt;Decode by mask and the utf8, please refer to rfc6455:&lt;br /&gt;
&lt;a href="http://tools.ietf.org/html/rfc6455" rel="nofollow"&gt;http://tools.ietf.org/html/rfc6455&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Wed, 05 Jun 2013 08:24:35 GMT</pubDate><guid isPermaLink="false">New Post: SuperWebSocket and Wireshark 20130605082435A</guid></item><item><title>New Post: Monitoring data</title><link>http://superwebsocket.codeplex.com/discussions/446040</link><description>&lt;div style="line-height: normal;"&gt;Mask is required for client - server communications.&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Wed, 05 Jun 2013 08:22:18 GMT</pubDate><guid isPermaLink="false">New Post: Monitoring data 20130605082218A</guid></item><item><title>New Post: SuperWebSocket and Wireshark</title><link>http://superwebsocket.codeplex.com/discussions/437364</link><description>&lt;div style="line-height: normal;"&gt;did you manage to see the plain text traffic in the end? I have a similar issue&lt;br /&gt;
&lt;/div&gt;</description><author>deepsouth</author><pubDate>Wed, 05 Jun 2013 08:20:35 GMT</pubDate><guid isPermaLink="false">New Post: SuperWebSocket and Wireshark 20130605082035A</guid></item><item><title>New Post: Monitoring data</title><link>http://superwebsocket.codeplex.com/discussions/446040</link><description>&lt;div style="line-height: normal;"&gt;Hi, thanks for the great project!&lt;br /&gt;
&lt;br /&gt;
For debugging purposes I am sniffing the websocket communication and, while I can see plain ASCII going server -&amp;gt; client (javascript), I only see binary coming back (client -&amp;gt; server).&lt;br /&gt;
&lt;br /&gt;
Is this the default behaviour? I thought the communication was plain text, both ways.&lt;br /&gt;
&lt;br /&gt;
Thanks for the help&lt;br /&gt;
&lt;/div&gt;</description><author>deepsouth</author><pubDate>Wed, 05 Jun 2013 08:18:32 GMT</pubDate><guid isPermaLink="false">New Post: Monitoring data 20130605081832A</guid></item><item><title>New Post: Example using Flash?</title><link>http://superwebsocket.codeplex.com/discussions/357440</link><description>&lt;div style="line-height: normal;"&gt;Thanks a lot kerryjiang. You solved my problem. Now I am able to work with IE9 and below with help of Flash bridge.&lt;br /&gt;
&lt;/div&gt;</description><author>ykiranbabu</author><pubDate>Tue, 04 Jun 2013 04:27:23 GMT</pubDate><guid isPermaLink="false">New Post: Example using Flash? 20130604042723A</guid></item><item><title>New Post: Example using Flash?</title><link>http://superwebsocket.codeplex.com/discussions/357440</link><description>&lt;div style="line-height: normal;"&gt;Please refer to this project:&lt;br /&gt;
&lt;a href="https://github.com/gimite/web-socket-js" rel="nofollow"&gt;https://github.com/gimite/web-socket-js&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>kerryjiang</author><pubDate>Sun, 02 Jun 2013 15:34:46 GMT</pubDate><guid isPermaLink="false">New Post: Example using Flash? 20130602033446P</guid></item><item><title>New Post: Example using Flash?</title><link>http://superwebsocket.codeplex.com/discussions/357440</link><description>&lt;div style="line-height: normal;"&gt;Thanks for the great work.&lt;br /&gt;
&lt;br /&gt;
I want to use the WebSockets to connect to server if the browser is having Websocket feature else use Flash bridge to connect to the server.I hosted the policy server with the above policy file in a console application (In the same console application I also hosted my SeperWebSocket server). &lt;br /&gt;
&lt;br /&gt;
I know how to connect to WebSocket server from browser,but I am unable to connect using flash bridge if the browser does't support WebSocket.Could you please provide me the client script (which I need to write in browser) to connect using flash.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;/div&gt;</description><author>ykiranbabu</author><pubDate>Sat, 01 Jun 2013 10:35:36 GMT</pubDate><guid isPermaLink="false">New Post: Example using Flash? 20130601103536A</guid></item></channel></rss>