Questions tagged [connect]

DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561

800 questions
0
votes
1 answer

Http Post with node.js and express

I am just trying to write a simple node.js app that will be able to write to a file via post and access that file with the express.static(). var express = require('express'), fs = require('fs') url = require('url'); var app =…
user4815162342
  • 1,638
  • 2
  • 17
  • 23
0
votes
2 answers

BluetoothChat ConnectedThread crash

I'm getting this problem while executing a modified BluetoothChat app. The app shows the devices, starts connecting to it, and then crashes. I've been testing this and it happens on this thread. Here is the code and the LogCat: public class…
masmic
  • 3,526
  • 11
  • 52
  • 105
0
votes
2 answers

Qt c++ double emit Data

I have a multiserverapp that works fine so far. I got 4 cpp files. Main.cpp constructs the program. MainWindow.cpp constructs the ui and starts (via buttonclick) MyServer.cpp. MyServer.cpp creates a thread and starts MyThread.cpp. My aim is to show…
beary
  • 41
  • 2
  • 7
0
votes
1 answer

Accessing express.js's connect

I am using Locomotive, and am wondering whether there is a way to access the connect that belongs to the express object somehow. Right now I am loading connect via require, and had to npm install --save connect first to make that happen. How can I…
Dmitry Minkovsky
  • 36,185
  • 26
  • 116
  • 160
0
votes
1 answer

Cannot connect to VM VirtualBox Linux Nginx server after restarting my computer

I recently setup an Ubuntu 12.04 LTS server running nginx, and I could connect to it via its IP address. However, after restarting my computer I can no longer connect to the server in any browser but I can connect via SSH through puTTy. No clue…
Username19
  • 45
  • 1
  • 5
0
votes
1 answer

h2 disconnect and connect

i got a problem when i'm closing an h2 connection(release database) and try to connect to another h2 database(debug database). Snipplet to connect: this.connection = new JdbcConnectionSource(connectionString); Snipplet to…
0
votes
1 answer

Restify.js (Connect/Express) middleware ignoring call to next() within promise callback

So. I'm experiencing some quirks when attempting to implement some basic middleware for a Restify.js application I'm building with specific regard to next() and promise callbacks. To express the problem in a generic form: var server =…
Matt Richards
  • 1,477
  • 2
  • 14
  • 21
0
votes
2 answers

make line that connects two objects in silverlight

how can I connect these entity boxes? the boxes are created by clicking a button and they can be dragged. Now I want to connect them with a line or something.
terrorista
  • 227
  • 1
  • 15
0
votes
1 answer

How to close DB

Im using connect-domain to handle the errors for DB connection. When no data is found in DB, connect-domain throws the error. Below is the code db.store.find({'_id':id},function (err, data) { if (err) { throw new Error("error"); …
user87267867
  • 1,409
  • 3
  • 18
  • 25
0
votes
2 answers

Node.js and the connect module: How do I get the message out of a request object sent to a web server

I'm using Node.js and connect to create a simple web server. I have something similar to the following code and I can't figure out how to access the actual request message body from the request object. I'm new to this so bear with me. I'm also…
Stupid Stupid
  • 215
  • 1
  • 4
  • 9
0
votes
2 answers

Open via android-device localhost on PC

Situation: on PC installed server, and available address with this site: http://localhost And installed Connectify Hotspot to share internet via wi-fi. Also, I have android-device from which I need visit localhost on my PC. Via wi-fi is not…
user2017037
  • 80
  • 11
0
votes
1 answer

Android: Connect to a Server when offline

Hi I'm working on an Android App which has the possibility of connecting to a server. This application can work online or offline. For connection to the server, I use AsyncTask, which and in doInBackground is where I do all the network operations.…
Katherine99
  • 980
  • 4
  • 21
  • 40
0
votes
1 answer

How does the 'reverse path' in Node.js Connect work?

So I understand that Node.js Connect works like a stack through which it runs, starting from the top and going to the bottom. From the Connect introduction by its author at http://howtonode.org/connect-it it shows an example like var Connect =…
Willem Mulder
  • 12,974
  • 3
  • 37
  • 62
0
votes
2 answers

Connect to Remotely Hosted WCF Service via netTcpBinding

I can connect to my WCF service locally with no problem but when I host it remotely, I receive this error: TCP error code 10061: No connection could be made because the target machine actively refused it 192.168.200.58:1991. Please note that he…
pangular
  • 699
  • 7
  • 27
0
votes
1 answer

Node.js: How to add event handler to Connect/Express Server?

I want handle EADDRINUSE how it is described in API Doc nodejs but connect/express did not call the error event handler. here is a example: var connect = require('connect'); var app = connect(); app.use(function(req, res){ res.end('hello…
TLindig
  • 48,010
  • 3
  • 28
  • 31