### Get Websocket RemoteIP

To get the Remote IP of a Websocket connection, use in the Websocket Class the UpgradeRequest method with property RemoteAddress.
Note the the code snippet is from a B4J Server solution.
' Websocket Class
`Sub Class_Globals
Private ws As WebSocket 'ignore
Private RemoteIP As String
...
End Sub`
`Private Sub WebSocket_Connected (WebSocket1 As WebSocket)
ws = WebSocket1
RemoteIP = WebSocket1.UpgradeRequest.RemoteAddress
Log($"New Connection with IP ${RemoteIP}"$)
End Sub`

Changed: , Category: Network, File: T6C224M1657.htm, ID: 1657