facebook

connect to a tcp/ip socket server

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #344198 Reply

    gcuciniello
    Member

    I have to connect to a tcp/ip soket server by pushing a button.
    Normally i use this code:
    Sub btnConnect_Click
    Socket1.Initialize(“Socket1”)
    Socket1.Connect(“10.10.100.254”,8899,5000)
    lvLog.AddSingleLine (“Do Connect”)
    End Sub
    Sub btnClose_Click
    Socket1.Close
    lvLog.AddSingleLine (“Do Close”)
    End Sub
    Sub Socket1_Connected(Connected As Boolean)As Boolean
    If Connected = True Then
    AStreams.Initialize(Socket1.InputStream,Socket1.OutputStream,”Astreams”)
    lvLog.AddSingleLine (“Is Connected”)
    End If
    End Sub

    How i can do the same with mobione.
    Thanks in advance

    #344213

    fbod383
    Member

    Call a JS with a button, then put your script into the custom JS in teh WWW folder

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: connect to a tcp/ip socket server

You must be logged in to post in the forum log in