Python Forum
how hard to make a GUI client like this
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how hard to make a GUI client like this
#1
a GUI client is started with a user specification of what window size to use. the client creates/opens such a window and opens a TCP connection to a specified server. once connected the server announces who and what it is, a what features are ready. the client then tells the server what the window size is and other info like pixel color depth, user to login as, password to login as. lets do this via SSL/TLS so it is secure and no one can spy on the password. certificates might need to be exchanged for greater certainty. all this will be done with a protocol inside the secure SSL stream that organizes communication into as many as 65535 subchannels. there are commands from the server that basically say "divide this area up into subareas as follows and assign each a specified number which is the subchannel used to send more commands just that area. the new subareas can then be divided further. the subarea geometries can be changed at any time. then there are commands how to "draw" or fill in pixels in that area, including sending a few common image formats like GIF, JPEG, PNG, and commands to just set a color on a pixel or draw lines, borders,text, and so on.

the idea is to give a lot of power to the server but also confine this power so the client always has final control including a means to kill or freeze what is going on, record it, an save window images.

input like keyboard and mouse operations can be sent to the server, and this will always include mouse location. if the mouse is in a subdivided area then the information is relative to that area and sent on that area's subchannel.

one special command i would want to implement is VNC mode. in this mode the data stream would work like the VNC protocol (within a subchannel).

how hard would it be to do this in Python for either a whole client or a server framework (to make applications in)?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020