Questions tagged [connection]

Refers to a connection used to transfer data between two endpoints, such as between a client and a web, database, web service or other server.

A connection is a session established between two communications endpoint applications.

10252 questions
24
votes
9 answers

Checking internet connection on android

I have the following code for checking internet connection wifi/EDGE/GPRS/3G on my application. the code is public static boolean checkConn(Context ctx) { ConnectivityManager conMgr = (ConnectivityManager) ctx …
Adil Bhatty
  • 17,190
  • 34
  • 81
  • 118
24
votes
3 answers

Connecting Python with Teradata using Teradata module

I have installed python 2.7.0 and Teradata module on Windows 7. I am not able to connect and query TD from python. pip install Teradata Now I want to import teradata module in my source code and perform operations like - Firing queries to teradata…
anurag
  • 590
  • 3
  • 8
  • 27
24
votes
4 answers

How can I check my svn connection?

How can I check my svn connection? I just want to try to connect to server and check the status of my connection.. After that I will do something like check out and etc. well may be another way to get it?
Vepr
  • 241
  • 1
  • 2
  • 3
24
votes
2 answers

Argument type for Qt signal and slot, does const reference qualifiers matters?

For signal and slot of below type signals: void textChanged(const QString &); public slots: void setText(const QString & text) the type of argument of textChanged and setText seems to work invarable of const and &. Does the constant and…
yesraaj
  • 46,370
  • 69
  • 194
  • 251
24
votes
7 answers

MySQL Error "Too many connections"

I am using MySQL 5.0 for a site that is hosted by GoDaddy (linux). I was doing some testing on my web app, and suddenly I noticed that the pages were refreshing really slowly. Finally, after a long wait, I got to a page that said something along…
littleK
  • 19,521
  • 30
  • 128
  • 188
24
votes
3 answers

Android P2P (direct-connection) over the Internet (behind NAT)

I'm starting a small project, basically a multiplayer (as in more than two players) variation of the classic Battleship game. One problem that I'm trying to resolve before I dive into coding is the problem of communication between the multiple…
petersaints
  • 1,899
  • 3
  • 18
  • 25
23
votes
1 answer

mongodb & max connections

i am going to have a website with 20k+ concurrent users. i am going to use mongodb using one management node and 3 or more nodes for data sharding. now my problem is maximum connections. if i have that many users accessing the database, how can i…
carmelo arena
  • 551
  • 1
  • 4
  • 15
23
votes
1 answer

RabbitMQ client can't connect to remote RabbitMQ server

I have a nodejs client that uses bramqp for connecting to RabbitMQ server. My client can connect to a Rabbit MQ server in localhost and works well. But it's unable to connect to a remote RabbitMQ server on other machine. I opened port 5672 in the…
Ikarus
  • 1,169
  • 4
  • 14
  • 28
23
votes
4 answers

MySQL giving "read ECONNRESET" error after idle time on node.js server

I'm running a Node server connecting to MySQL via the node-mysql module. Connecting to and querying MySQL works great initially without any errors, however, the first query after leaving the Node server idle for a couple hours results in an error.…
Brent Traut
  • 5,614
  • 6
  • 29
  • 54
23
votes
3 answers

What exactly does a "persistent connection" mean?

I read about "HTTP persistent connection" but somehow I don't seem to understand what does persistent mean in this context. Could you'll elaborate?
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
23
votes
3 answers

iPhone TCP/IP Socket Server/Client Program

I have read a lot of questions regarding this subject on this website however they didn't quiet answer my question. If you can't be ### about my goal or background skip to the question. My Goal Is to build a server that can run on Mac OS X 10.4+…
Mark
  • 16,906
  • 20
  • 84
  • 117
22
votes
5 answers

How to make two android devices to communicate through TCP

We want to establish TCP/IP connection between two android devices. For now we thought that it would be simpler if we make the connection device to device. So there is no server that is between the two phones. Most of the time (if not always) one…
Luben
  • 221
  • 2
  • 3
22
votes
7 answers

Migrating from MySql: MariaDB server closing client connections unexpectedly

We in the process of migrating from MySql to MariaDB due to licensing/commercial usage reasons. We have successfully replaced the MySql connector jar with MariaDB client jar (first change) and are now trying to replace MySql server with MariaDB…
Vivek
  • 221
  • 1
  • 2
  • 5
22
votes
3 answers

The log for database "x" is not available

I tried to use the registration page for my site after not changing anything, and suddenly this error message appeared: The log for database "x" is not available. Check the event log for related error messages. Resolve any errors and restart the…
user2235692
  • 261
  • 2
  • 3
  • 5
22
votes
11 answers

Running EC2 instance suddenly refuses SSH connection

I've set up the EC2 instance couple days ago and even last night I was able to SSH to it with no problems. Today morning, I can't ssh to it. Port 22 is already open in the security group and I haven't changed anything since last night. Error: ssh:…
Sherzod
  • 5,041
  • 10
  • 47
  • 66