Saturday, September 16, 2006

Day 1 - Screen Broadcaster

Whew. Hope everynight isn't like this. I got off to a false start because I tinkered with getting a web cam working for too long. So it was close to 9 when I got started. I just finalized the application, it's a screen broadcaster.

The other holdup was the discovery that my new internet provider uses NAT within the DSL modem, so I had to port forward twice. Once from the DSL modem to the router, then again from the router to my PC. It originally looked like my provider was using NAT on their side, but thanks Rub3X for challenging me on that - a tracert revealed it it was the dsl modem. I just switched providers and installed Win Vista, so I hadn't gotten around to even testing this yet...

The app is client/server based and transfers JPEG compressed files every 5 seconds using a .NET 2.0 remoting HTTP channel. Hopefully people out there can find a use for this like monitoring servers, other people, etc... Whatever...

Download the application
Download the source

An installer was not provided today as I received some negative feedback on it. Good point, these are simple apps so lets keep them lightweight. To use just unzip into a directory and run either the server or the client.

For the server you just enter a port to listen on, then it'll just wait.

For the client you enter the IP or DNS name of the server, and the port, then it'll start receiving shots of the screen.

ENJOY!

20 Comments:

At 8:12 AM, Anonymous Anonymous said...

Lookup your DSL modem make and model on the web--it's almost certainly possible to change it to bridge mode from NAT.

 
At 9:02 AM, Anonymous Anonymous said...

Nice job! Keep the good work :D

 
At 9:26 AM, Anonymous Anonymous said...

Nice Job thus far, and congrats on your first application!

Possible additional features:

* Ability to specify the interval between screenshots sent (server)

* Ability to save jpegs into a folder, so they can be patched together into a video with the use of another app (i.e. bmp2avi)

* Being able to hide the server to tray (with a different icon than the client, just change the color)

 
At 9:45 AM, Blogger Unknown said...

I have to hand it to you, this was a great idea. Both the blog and the app.

 
At 10:15 AM, Anonymous Anonymous said...

Job well done! Keep it going Jedi :-)

 
At 10:18 AM, Anonymous Anonymous said...

The application failed to initialize properly (0xc0000135) Click on OK to terminate the application.

:(

 
At 10:28 AM, Anonymous Anonymous said...

It would be nice to have an option of how frequently the server transfers the JPEGs. Just my oppinion, great app though this is great for monitoring progress of w\e you are doing from a remote location, and the app is small too :-D Nice Job

 
At 11:09 AM, Anonymous Anonymous said...

cool!

 
At 11:31 AM, Anonymous Anonymous said...

Nice.

I just recently setup 2 usb webcams pointed outside my house and wanted a quick way to view them from any computer other than the one they are connected.

also for the people wanting improvements, the source is provided and you can download visual studio 2005 express from ms for free.

 
At 1:02 PM, Anonymous Anonymous said...

nice app!!

 
At 1:35 PM, Anonymous Anonymous said...

The most annoying thing is that the program distorts the screen to a box on the user side.

Maybe on the server side, they can pick how big the screenshot pictures will be shrunken to.

 
At 3:06 PM, Anonymous Anonymous said...

neat little app
possible problems.

server side will crash if client is closed ie disconnect and close client server crashes.

on client side remember last address or have a drop down so you can select last server.

make the app run as a service without application tray.

good for network admins to passivly monitor

 
At 6:20 PM, Anonymous Anonymous said...

Can someone explain how to do this, I've been trying for a long time with someone else to work out how to start it but we can't. :@

Are we meant to enter a different port other than 8909 or what?

 
At 8:12 PM, Anonymous Anonymous said...

Didn't read what environment you're using.. but just compiled with SharpDevelop and all the free SDKs, and it worked first time perfectly. Nice job :)

 
At 3:34 AM, Anonymous Anonymous said...

"Are we meant to enter a different port other than 8909 or what?"

That question just shows that you will never complete your project :D

 
At 9:09 PM, Anonymous Anonymous said...

Great app but upon inspection you probably should have gone with a server push model rather than a client pull model. That is, the client should simply get a screenshot when the server feels like sending it.

Your mission is quite an inspiration.

 
At 11:20 AM, Anonymous Anonymous said...

Would it be possible to use command line arguments? For example -p to specify port number?

All in all though, this is a great app. I look forward to what comes next.

 
At 4:21 PM, Anonymous Anonymous said...

I would definately take the time to switch that modem to bridge mode and adjust the router accordingly. Double routing like that causes headaches with all kinds of things.

 
At 11:14 PM, Anonymous Anonymous said...

I try the app on winxp and it works but not with winPE.
error 0xc0000135

 
At 3:11 AM, Anonymous Anonymous said...

you should release how you got the jpegs to a webpage like u did ur codecam
Great

 

Post a Comment

<< Home