Questions tagged [connect]

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

800 questions
0
votes
2 answers

Why the connect() in android socket does not work?

I wrote similar codes as the demo of Android WiFiDirect, but my socket.connect() cannot work. It terminated and jumped into the "finally" section without throwing any exceptions. I checked all the input parameters of connect(), and they are exactly…
Tianlong Song
  • 61
  • 1
  • 3
0
votes
2 answers

Repopulate form values in express/connect

I just started a new nodejs app, which will contain a notable amount of forms for creating and editing/updating database values. My question is: How can I repopulate form entries if the given data is invalid? Example: Somebody tries to login. If the…
Daniel Torres
  • 749
  • 1
  • 7
  • 17
0
votes
2 answers

In Nodejs how to get previous session data if cookie deleted

I want to get the previous session data if the user removes all his cookies manually or in other methods. Because i am storing some data in session and in my global too, and I need to remove that data from my global for every session destroyed.
Dexter
  • 12,172
  • 9
  • 27
  • 30
0
votes
1 answer

python create socket not receiving

I have an IP = '127.0.0.1', port number 'port', and trying class AClass(asyncore.dispatcher): def __init__(self, ip, port): asyncore.dispatcher.__init__(self) self.create_socket(socket.AF_INET, socket.SOCK_STREAM) …
Thalia
  • 13,637
  • 22
  • 96
  • 190
0
votes
1 answer

Serving different static content in NodeJS depending on route

I should preface this by the fact I am new to NodeJS, and more generally to all the coding your own web server business, so please bear with me. What I'm trying to achieve basically is replicating Apache's alias mechanism. I should simply be able to…
DrunkenBeard
  • 410
  • 4
  • 19
0
votes
1 answer

Connect to AJAX file. Joomla

I can't to connect to ajax conf.php file because of (_JEXEC) then i use jquery code: $.ajax ({ type: "POST", url: "conf.php", data: dataString, cache: false, success: function(html) { $("#flash").fadeOut("slow"); $("#content").html(html); }…
Jonuux
  • 533
  • 1
  • 7
  • 20
0
votes
2 answers

Cannot install ADT plugin because Eclipse cannot connect to Internet.

I cannot install the ADT plugin on 64-bit Eclipse on Windows because Eclipse cannot connect to the internet. Consequently, I always get the error Unable to find Repository. I checked to confirm that it is indeed Eclipse which cannot connect to the…
0
votes
1 answer

c++ winsock client cannot connect using textbox for host IP

I cannot get it connect to my server when i use the host IP from my textbox. See my code : char *bufhost; int bufhostlen; bufhostlen = GetWindowTextLength(hwndTextBox_ip) + 1; …
yves
  • 250
  • 1
  • 2
  • 18
0
votes
1 answer

Catching/Connecting QPushButtons inside a QTableWidget to a function

Im a student developer using Qt to build a GUI to help users plot specific columns of data located in multiple files. The feature I'm setting up allows users to select a file using a button in each row. So the button originally would say browse and…
Wylie Coyote SG.
  • 1,009
  • 6
  • 22
  • 37
0
votes
1 answer

Network Error Alert in Xcode Needed Urgently

I recently started an Xcode project, and its mostly web-based, in the sense it mostly works with UIWebView. I am a total noob at this. I would like to make an "No Internet Connection Alert". Basically An Alert that comes up if you have no internet…
user1543053
  • 25
  • 1
  • 5
0
votes
1 answer

Accessing on-premises SQL database with web application hosted on Azure

I am trying to access the SQL database that exist in the company premises from the service hosted in Azure. This is what I have tried: Created MS SQL database on local server Created the sample web application (Windows Azure Cloud Service) Modify…
Ripin
  • 35
  • 5
0
votes
3 answers

How to get some text from an url multiple times?

This question is solved Sry for the title -_- I am trying to create an app that get some text from a webpage. when you click on the "next" button you will go to the next page and update the text. The thing I have problem with is when you click the…
woxer
  • 1
  • 1
0
votes
1 answer

ExtJS 4.0 cannot read connect.sid from cookie

I try do develop a web application with ExtJs 4.0. On startup the application sends a request to a server. This server sends a response. The responses' header contains Set-Cookie:"connect.sid=foobar" When I look into the preferences of my browser, I…
0
votes
1 answer

Highlighting Bars in a chart when clicking on the related data in a grid with ExtJS 4

I have two objects on my screen, a grid and a chart being populated by the same store. What I need to do is highlight the Column on the chart related to the item I clicked in the grid. In the function I've figured half way to do it using…
Guilherme Lopes
  • 4,688
  • 1
  • 19
  • 42
0
votes
2 answers

Relationnal model with Towerjs (coffeescript & mongodb)

I need to recover in towerjs (with mongodb store) quote stock from all stock in all trades of one user. This code don't work, the while loop does not stop, but I do not understand why App.Trade.where(userId: @currentUser.get('id')).order("date",…