DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561
Questions tagged [connect]
800 questions
2
votes
1 answer
Use Express' Connect-Redis to store sessions on remote Redis server
I've been building an Express app in conjunction with Couch and Redis locally. It has been working fine.
I'm now seeking to use a remote Redis server hosted on Iris Redis. I've tried for days now but can't seem to get Express' Connect-redis to…

AndrewHenderson
- 4,686
- 3
- 26
- 33
2
votes
1 answer
Connect.js middleware to rewrite request body
I have an Express-based Node.js application. I would like to convert line ending characters in my incoming request before the request passes to the rest of my Connect middleware stack (specifically, convert all LF characters to CRLF characters). Is…

Eugene Osovetsky
- 6,443
- 2
- 38
- 59
2
votes
1 answer
Cascade-like rendering with Express JS
With an express app running on a node server, how would I go about recursively searching for a render file from the full path right back to the beginning of the supplied URL.
For example, if someone was to hit my server with…

shennan
- 10,798
- 5
- 44
- 79
2
votes
1 answer
C# outlook search address antry by ID, Username or Alias
Hi Guys I need an solution to find an contact of my GlobalAddressList by ID, Username or Alias.
This is my try, but only for an search by name:
AddressList gal = appl.Session.GetGlobalAddressList();
AddressEntry entry =…

Butters
- 977
- 5
- 14
- 25
2
votes
2 answers
QKeyEvent in my app does not work
I want to program a retro snaker that responds to my keyevents, here's my code:
paint.h
#ifndef PAINT_H
#define PAINT_H
#include
#include
#include
#include
class paint:public QWidget
{
Q_OBJECT
public:
…

socket
- 1,153
- 3
- 13
- 22
2
votes
2 answers
How to create tcp-client by libevent
Do You have link to example, how to create the client to echo-server?
I need to use libevent, bufervents.
This code have connect, but don't write to server:
int main() {
struct event_base *base;
struct evbuffer* ev_buffer;
const char…

Alexandre Kalendarev
- 681
- 2
- 10
- 24
2
votes
1 answer
Unable to connect to internet from my app
try {
String URLName = "http://www.sample.com";
String line,res = "";
HttpURLConnection con = (HttpURLConnection) new URL(URLName).openConnection();
BufferedReader in = new BufferedReader(new…

sum
- 23
- 3
2
votes
1 answer
express error middleware not handling errors thrown from promise.done()
If I throw an Error, express renders it nicely using the connect errorHandler middleware.
exports.list = function(req, res){
throw new Error('asdf');
res.send("doesn't get here because Error is thrown synchronously");
};
And when I throw an…

mkirk
- 3,965
- 1
- 26
- 37
2
votes
1 answer
socket programming connect() fails the second time I run the loop
Well i am trying to run the server side and the client side in a for loop. The first time I run it, it runs fine but the second time either the connect fails or it gets stuck at accept(). Here's my code:
Client code:
for(i=0;i<2;i++)
{
if(…

brokenfoot
- 11,083
- 10
- 59
- 80
2
votes
1 answer
Custom context menu connecting in Qt
I have a problem with connecting custom menu in QListWidget, the connect function returns false. Here is the code:
I've got some main window class called MainWindow. In its constructor I have this line
connect(ui->notesWidget,…

Aspect
- 35
- 4
2
votes
1 answer
Android listen for connections without UUID
I have written an Android game that uses Bluetooth to transfer data. I copied the code from the Bluetooth Chat application that comes with the ADK. My phone doesn't seem to be able to connect with UUID so I would like to replace it with other…

Finnboy11
- 986
- 2
- 15
- 34
2
votes
2 answers
GUI not updating despite use of validate()
Here is a Connect Four program I'm making. So far, I'm able to add checkers to empty (eligible) slots, alternating red and black each time. My code may be quite inefficient, as this is my first swing program. However, my only major problem is that I…

Joel Christophel
- 2,604
- 4
- 30
- 49
2
votes
1 answer
Tree Structure with Connect BY inner join and update
I have 3 tables.
The table Test, Folder and Iteration.
Every test is Linked with a Folder.
The Folder, which is linked to the test is a child of many other folders.
From these folders the one on the top of the hierarchy is linked with the table…

John Smithv1
- 673
- 5
- 14
- 33
2
votes
2 answers
express.compress() and express.responseTime() not working for controller's output
I've the following scaffolded express application:
var
express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, http = require('http')
, path = require('path')
, _ = require('underscore');
var…

artvolk
- 9,448
- 11
- 56
- 85
2
votes
1 answer
Is there a way to get the protocol in Connect/Express 3
Is there a way to get the protocol (http|https) in Express?

jwerre
- 9,179
- 9
- 60
- 69