Page 2 of 2
Posted: Tue Feb 01, 2005 1:05 am
by Dreglor
if any one want to help me i they can look into streaming compressed sound
also how would i get the address to an image?
Posted: Tue Feb 01, 2005 1:15 am
by PB
> VNC Rocks! i have it on a server here at home. I love the way you can
> admin the server remotly through a web browser
Okay, now you've got my attention.

Are you saying I can access my
PC from work, via a web browser at work? If so, that rocks! I'm not too
good with networking though so I hope it isn't hard to set up... is it?
Posted: Tue Feb 01, 2005 1:44 am
by freak
Yes, the VNC server contains a small web server with a java applet which
can be used to control the server. Like this you don't need any client
software installed at all.
It is quite easy to set up. Download it here:
http://www.realvnc.com/download-free.html
(Note you don't need to provide any indormation there, just select the package to download and click continue)
After installing, there is the configuration dialog. Make sure you set a
password, and have the java viewer enabled in the "Connections" tab.
If you have a firewall, you must configure it to allow incomming connections
to both the HTTP port where the applet is served on (default 5800)
and the port where the actual VNC server is on (default 5900)
Then simply use the browser on the other side and type
http://<pc-address>:5800/
(assuming you left the port number on 5800 for the http server)
It should then load the applet and prompt for a server to connect to
just click ok and there you go

Posted: Tue Feb 01, 2005 2:30 am
by Beach
I use TightVNC.
http://www.tightvnc.com
TightVNC has a feature that lets the remote PC initiate the controlled session. This is good for controlling machines behind a firewall'ed connection. So let's say your grandma has a new computer and she had you install it. You put the computer behind a Linksys (or cheaper) router with no open ports. Now she can not find the document she spent the last hour working on and you are 5 hours drive away. Just put your PC in "listen" mode, then instruct the grandma to add your hostname into her VNC server as a "New Client". Bam, you're on! No password needed for this type of connection.
I have helped my father this way for years now.

But he is only 2 minutes down the street...
Oh, they also have a ActiveX VNC ditty that works well (just not with PB).
Posted: Tue Feb 01, 2005 2:38 am
by Beach
Oh, I also thought is was worth mentioning that TightVNC does not send the remote control password in clear text. The site states it is DES encrypted.
Regarding passwords, I also know that any charater past 8 is ignored. In other words, TightVNC (and I suppose all other variants) stops recording characters for passwords after your 8th character. You can make your password 20 characters, but only the first 8 matter.
Posted: Tue Feb 01, 2005 8:14 am
by Dreglor
it funny how this topic is all abput vnc

speaking of passwords i was thinking about des but i not sure how you decrypt that back how would you in pb?
Posted: Thu Feb 03, 2005 3:51 am
by Dreglor
one quick question how do i convert 24 bit (pb's color code) to 16bit for transfering and back to 24bit?
Posted: Thu Feb 03, 2005 5:18 am
by PB
> it funny how this topic is all abput vnc
That's why I started an off-topic thread (at TerryHough's suggestion).
But with the problems I'm having with VNC, I'm more interested in finding
another way to do it... I'll be keeping an eye on what you end up doing in
this thread.

Posted: Thu Feb 03, 2005 8:12 am
by Dreglor
But with the problems I'm having with VNC, I'm more interested in finding
another way to do it... I'll be keeping an eye on what you end up doing in
this thread.
thanks,
right now i'm having trouble with compression right now i wish i could gain access directly to the memeory the image is stored in but i can't i have to use pb point cmd grr
it takes 3 seconds just to do diffrence check and packing it with pb packer takes about 5 to 20 min depending on the compression your using (i don't know why but it is like compressing a gig with it) and this is with all a screen of 1280x1024 a bit big but it kinda shows that it very slow
i have to think on how to compress it other than packer...
Rings sent me somthing that works good but by what he said i can't release the source to the public :\
Posted: Thu Feb 03, 2005 9:55 am
by Pupil
Instead of using Point() you should check out the GetDIBits_() API. Also have a look at this perhaps:
viewtopic.php?t=8781
Posted: Thu Feb 03, 2005 1:54 pm
by Rings
ok, i don't know if dreglor checked my download link i sent him already, but its all in there (or mostly) :
get the Bitmap of an image as a memorypointer, modify it (grayscale and size), pack it very fast and send it over network to a client .Display it on the client .
This is all done in Purebasic and a new faster Pack-library (which becomes free for all) .Packing,Sending and viewing a Bitmap with 1024x768 is mostly done under 300 msecs. And there is no optimisation like checking differents or such in it.
if anyone is interested in this topic (making a sort of a vnc), drop me a pm so i can send you the link .
Posted: Sat Feb 12, 2005 9:34 am
by Dreglor
i got your download it very nice btw,
right now im stuck with a bug in the net code im really slowing down i haven't had the time this week to do it i hope i get something done next week