Results 1 to 4 of 4

Thread: About GUI C/S app

  1. #1

    About GUI C/S app

    hello, can anyone show me an example of how to write a GUI tcp server/client app? I just don't know how to do event stuff in callback such as connect,disconnect,recieve data ETC. the sample scripts are all console based.

  2. #2
    Nobody knows that or it can't be done?

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Have you checked your \thinBasic\SampleScripts\TcpUdp\ directory?

    UDP_Notify_Server.tbasic
    UDP_Notify_Client.tbasic


    • Start the Server
    • Start the client
    • Move the Window client and you will see the Window Server moving according while they exchange each other UDT data over the network.
    • You can start many session of the client and move each of the client windows and see what happen


    It is just an example, the rest is programmer fantasy.
    Attached Images Attached Images
    Last edited by ErosOlmi; 31-05-2013 at 22:01.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Well, network is network.

    The example can work locally or remotely as far as you have an access to the remote network.

    Execute the Server on a networked machine.
    Execute the Client on another networked machine (Lan or Wan) able to "see" the Server machine with UDP datagram

    Do not forget to change server IP address to connect to from loop back ip 127.0.0.1 to the ip of your server machine.
    Last edited by ErosOlmi; 01-06-2013 at 10:15.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •