>> On Thu Jun 07, 2007 at 04:03:08PM +0200, L.M. wrote:
    >> Hi Robin, thank you for your quick answer.
    >>
    >> > The vncviewer.jar file is located on the server - on Windows it's
    >> > embedded in the winvnc4.exe application itself [...]
    >>
    >> About "Jar files embedding", I have read the following SHORT article:
    >>
http://www.dobysoft.com/products/nativej/help/html/advanced/embedding.html
    >> Could you read it and tell me if what is described happens in our case
too?
    >>
    > No - this looks to be referring to java applications.  If you run a
    > local java application then it has to look (on disk) at the CLASSPATH
to
    > find all the classes it needs to run.  If some of these are embedded in
    > the application then they have to be extracted first, before the main
    > application can run.

Ok then.

    > The VNC server is acting like a web server on port 5800 - the client
    > connects, requests the page, and is passed it straight from memory
    > (since it's embedded in the application).  The same then happens for
the
    > .jar file - again it can be read straight from memory and passed over
    > the network to the client.

    > > Could you check on your VNC server's system if you have any
    > > "...vncviewer...jar..." file  especially in your "Drive:\Documents and
Settings\UserName\Local  Settings\Temp"
    > > or "Drive:\Documents and Settings\UserName\Local Settings\Temporary
Internet Files"
    > > folders? Or maybe somewhere else I ignore!
    > >
    > No, it won't be on the server at all - there's no need for the server
    > ever to write it to disk.  It's probably saved to the browser cache on
    > the client (Temporary Internet Files, or wherever other browsers store
    > them) though.

Ok.

    > Cheers,
    >         Robin
    > --
    >      ___
    >     ( ' }     |       Robin Hill        <[EMAIL PROTECTED]> |
    >    / / )      | Little Jim says ....                            |
    >   // !!       |      "He fallen in de water !!"                 |


But the thing I cannot figure out is the following:
"winvnc4.exe" is running on the VNC server,
it has some java bytecode (".class" files) embedded.
Bytecode can only be interpreted by a Java Virtual Machine (JVM), no?
Where is the JVM on the VNC server?

As you say, the VNC client sends a request to the VNC server.
    Roughly, for instance, the VNC client asks the VNC server for updating
    the screen "rectangle" which has the following characteristics:
    (x_pos, y_pos, width, height) using the Remote Frame Buffer (RFB)
protocol.

As I read, HTTP "is the network protocol used to deliver virtually all files
and other
data (collectively called resources) on the World Wide Web whether they are
HTML
files, image files, query results or anything else."

So, using HTTP, using the url http://<vnc_server_ip_address>:5800/,
I send the request "update_rectangle(x_pos, y_pos, width, height)" to
the process associated with the 5800 port on the machine identified by
"vnc_server_ip_address".
To do so the data are send wrapped in:
- an IP header,
- a TCP header,
- a HTTP header.
Plus the RFB layer, no?

Can you explain why two ports (5800 and 5900) are required for that
operation?

Hope it doesn't take you too much time to help me!

Cheers,

--
Leon
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to