Questions tagged [connect]

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

800 questions
5
votes
2 answers

android bluetooth connection fail (isSocketAllowedBySecurityPolicy start : device null)

I'm trying to connect two mobile phone (galaxy note1, galaxy note2) with bluetooth but socket connection is fail. this is my LogCat: I/BluetoothService(24036): BEGIN mConnectThread D/BluetoothUtils(24036): isSocketAllowedBySecurityPolicy start :…
Shin WooKeun
  • 51
  • 1
  • 3
5
votes
3 answers

tcp connect timeout (unix/windows portable)

I'm using perl (which hopefully shouldn't affect anything), but I need to know how I can set a timeout for the connect operation. The problem is I can't wait forever for the connect operation to happen. If it doesn't happen within a few seconds,…
dlamotte
  • 6,145
  • 4
  • 31
  • 40
5
votes
1 answer

Android Bluetooth .connect() exception Nexus 7 OBDII adapter

I'm using standard API procedures for connecting to a device. Specifically OBDII bluetooth adapters. I have two OBDII bluetooth adapters, of different models. Running the exact same code, the first will pair and connect without issue with every…
5
votes
2 answers

Grouping and Managing node.js Middleware

If I've made some middleware that works together, what's the best convention for grouping and managing the functionality? In my server.js file, I've currently just got them listed one after another with app.use calls. It's occurred to me however…
Alexander Trauzzi
  • 7,277
  • 13
  • 68
  • 112
5
votes
2 answers

Should I use Express or Connect for RESTful Nodejs application

I am planning to develop a complex Node application with 30 modules which will be purely accessed thru REST services - backbone being one of the front-ends. I am not sure if I should use Express or Connect as the application does not use any views. …
Me Unagi
  • 405
  • 1
  • 8
  • 17
5
votes
1 answer

Where is ConnectEx defined?

I want to use ConnectEx function on Windows7, with MSVC2010. I am getting error C3861: 'ConnectEx': identifier not found MSDN suggests the function should be declared in mswsock.h, however, when checking it, it's not defined there. Any tips?
Martin Sustrik
  • 783
  • 10
  • 22
5
votes
3 answers

Connect references (Tools>References) with VBA code (macros)

I want to programmatically connect some references to my VBA project using VBA code, i.e. without manually setting references using Tools>References. Is this possible? For example Microsoft office 12.0 Object library.
Abduhafiz
  • 3,318
  • 5
  • 38
  • 48
4
votes
1 answer

nodejs connect session cookie not setting on some machines

I have a minimal connect session setup on my nodejs app: connect.cookieParser(), connect.session({ secret: 'asdfg', cookie: { maxAge: 60 * 60 * 1000 }}), But when testing my site on other machines the session cookie does not get set at all. On my…
protometa
  • 1,603
  • 1
  • 12
  • 16
4
votes
1 answer

Does dnode have authentication middleware?

I'm building an express app that uses everyauth and would like to use dnode. I want to be able to use the req.loggedIn boolean set up, but for dnode rpc calls. Can this be done by having dnode listen to express? Can it access express middleware…
fancy
  • 48,619
  • 62
  • 153
  • 231
4
votes
1 answer

Streaming without Content-Length in response

I'm using Node.js, Express (and connect), and fluent-ffmpeg. We want to stream audio files that are stored on Amazon S3 through http. We have all working, except that we would like to add a feature, the on-the-fly conversion of the stream through…
kain
  • 5,510
  • 3
  • 27
  • 36
4
votes
0 answers

Facebook channelUrl set but connect still shows blank window in IE7

I'm facing one odd Facebook connect issue, I've set up the FB.init method with correct params as mentioned in the FB developer docs - http://developers.facebook.com/docs/reference/javascript/FB.init/ Checked various places that mention, setting…
Sameerel
  • 121
  • 1
  • 5
4
votes
3 answers

connect doesn't refresh when state change on react-native with redux

It's been 5 hours that I'm on the problem but decidedly it does not want to work... I would like to dispatch the event when onScroll is detected on my home component and receive the status "true" or "false" in my TopNavigation component For now my…
4
votes
1 answer

Connect multiple redux sub-states to a React component

In my react-redux-typescript app, I have multiple sub-states that form the application state. Application state is as follows. interface AppState { dialogs: DialogState, messages: MessageState, notifications: NotificationsState, …
davez
  • 533
  • 5
  • 21
4
votes
1 answer

Python matplotlib: connect two subplot diagrams

I try to create a diagramm with a broken x-axis. I used the example which can be found at the matplotlib page. The problem for me is: how can I connect both diagrams? I need a closed line for the graph (and both x-axis should be come more close). Is…
4
votes
1 answer

Connecting nodes in a tree

A hypotetical question. Say I'm given a tree T and a list of pair of nodes (x, y) in T. I'm asked how many of the pairs I can connect simotaneously (connect x with y) using each edge in T at most once. How would one to that?
Alexander
  • 41
  • 1
1
2
3
53 54