LucaMs Expert Licensed User Longtime User Nov 8, 2015 #2 LucaMs said: How can I get it? Click to expand... Code: Copy Private Sub WebSocket_Connected (WebSocket1 As WebSocket) Dim RemoteIP As String = WebSocket1.UpgradeRequest.RemoteAddress End Sub I needed this information, so I wrote this question instead of publishing it in the thread Snippets since it is a simple command. In this way it is easily findable. I also found that you can get it through ServletRequest but this (ServletRequest) is not described. Last edited: Nov 8, 2015 Upvote 0
LucaMs said: How can I get it? Click to expand... Code: Copy Private Sub WebSocket_Connected (WebSocket1 As WebSocket) Dim RemoteIP As String = WebSocket1.UpgradeRequest.RemoteAddress End Sub I needed this information, so I wrote this question instead of publishing it in the thread Snippets since it is a simple command. In this way it is easily findable. I also found that you can get it through ServletRequest but this (ServletRequest) is not described.
Gianni M Well-Known Member Licensed User Longtime User Jan 2, 2016 #3 lucas posta un esempio Upvote 0
LucaMs Expert Licensed User Longtime User Jan 2, 2016 #4 giannimaione said: lucas posta un esempio Click to expand... Basta prendere uno dei tanti esempi di web server di Erel e scrivere quella riga nell'evento WebSocket_Connected di una classe che gestisce il web socket. You can simply use one of many Erel's web server on site and add that line in the WebSocket_Connectd event of a websocket handler class. Upvote 0
giannimaione said: lucas posta un esempio Click to expand... Basta prendere uno dei tanti esempi di web server di Erel e scrivere quella riga nell'evento WebSocket_Connected di una classe che gestisce il web socket. You can simply use one of many Erel's web server on site and add that line in the WebSocket_Connectd event of a websocket handler class.