TCP Listen API for Chrome Packaged Apps - Get Your Business Online [Video]

TCP Listen, a new API for Chrome packaged apps, which allows an app to accept incoming TCP connections. The aim is to deliver an app experience with the appearance and capabilities of native apps, but built using the growing capabilities of HTML5."These apps can access APIs for better filesystem handling, direct access to hardware devices, […]

TCP Listen, a new API for Chrome packaged apps, which allows an app to accept incoming TCP connections. The aim is to deliver an app experience with the appearance and capabilities of native apps, but built using the growing capabilities of HTML5.

"These apps can access APIs for better filesystem handling, direct access to hardware devices, raw network communication and many others."

"Chrome packaged apps since its debut have been able to connect to remote servers using TCP or UDP, and bind to a UDP port. Now, through the new TCP Listen API, a Chrome packaged app can also act as a TCP server itself and accept incoming connections on specified ports," informs Google.

You can use this API, "for example, to create a HTTP server on a development environment application, to automate a browser windows for page load testing or even to augment the Media Center application with a DLNA UPnP media server and show your PicasaWeb pictures on your DLNA enabled television," Google explains.

To get started, clone this GitHub repository and look at the webserver and the TCP server samples.

TCP Listen API for Chrome Packaged Apps

In the latest Google+ Your Business page, Help Desk Hangout On Air, the company's Get Your Business online team talked about how important it is for businesses to have online presences, and the team highlighted a special promotion.

"U.S. businesses can set up a free website for a year with Get Your Business online with just a Google account. The team also walked us through how businesses can accelerate their online presences after making this website."

What is Get Your Business Online?
Get Your Business Online was designed to make it easy, free, and fast to for any business to get online. We think that small businesses are vital for the future, and we want to see small businesses connecting with customers using modern technologies. Get Your Business Online gives small businesses the opportunity to grow through creating an online presence.

How can I get my business online?
Just visit http://gybo.com in the United States and get started -- Google is offering a free domain name and hosting for a year, so all you need's a Google account. "You can use the Intuit site builder to make your business' website, so there's no HTML knowledge required. Don't forget to publish your website after building it!"

Check the full video below: