Hi...
I modified the b4j network example to use SSL - as clip below.
Compiling gets the error:
"Error description: Unknown member: initializesslacceptall"
Is this unsupported in b4j? Or is there another way to do it?
Thanks!
I modified the b4j network example to use SSL - as clip below.
Compiling gets the error:
"Error description: Unknown member: initializesslacceptall"
Is this unsupported in b4j? Or is there another way to do it?
Thanks!
B4X:
Sub btnConnect_Action
Dim m As Matcher = Regex.Matcher("(\d+\.\d+\.\d+\.\d+):(\d+)", txtServerIP.Text)
If m.Find Then
CloseExistingConnection
Dim c As Socket
' c.Initialize("client")
c.InitializeSSLAcceptAll("client")
c.Connect(m.Group(1), m.Group(2), 10000)
Wait For Client_Connected (Successful As Boolean)
If Successful Then
NewConnection(c)
End If
Else
fx.Msgbox(MainForm, "Invalid address", "")
End If
End Sub