Created
June 18, 2012 19:24
-
-
Save jonmarkgo/2950207 to your computer and use it in GitHub Desktop.
app setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'), app = express.createServer(), net = require('net'), twilioAPI = require('twilio-api'); | |
var cli = new twilioAPI.Client(process.env.account_sid, process.env.auth_token); | |
app.use(cli.middleware()); | |
app.listen(8002); | |
var arduinoTcp = null; | |
var curr_call = null; | |
var tcpServer = net.createServer(function (socket) { | |
console.log('tcp server running on port 1337'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment