Skip to content

Instantly share code, notes, and snippets.

@mplacona
Created March 31, 2014 12:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mplacona/9891570 to your computer and use it in GitHub Desktop.
import 'dart:io';
final int port = 5000;
final String address = "127.0.0.1";
void main() {
HttpServer.bind(address, port)
.then((HttpServer server){
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment