connection

Find simultaneous connection through wireshark

Hi, Just finish reading Steve Souder's blog post related to max. simultaneous connection allow on modern browser. I wanted to see for myself on how many simultaneous connection firefox uses to connect to our company web site. In Steve's blog, in mentioned that he was able to find out the number of simultaneous connection through some ...

How to connect to SQL Server 2005 database through Ruby

How to connect to SQL Server 2005 database through Ruby in Windows ...

Spring UncategorizedSQLException: ORA-01012

I am trying to retrieve data form an Oracle database using jdbc (ojdbc14.jar). I have a limited number of concurrent connections when connecting to the database and these connections are managed by Websphere connection pool. Sometimes when I make the call I see an UncategorizedSQLException exception thrown in my logs with one of the fol...

Keep connection open for multiple web service requests

Hello, I would have question regarding web services. Let's say I have webservice client that has to perform under high load. And I cannot use another technology. Is it possible somehow to keep the connection open for all requests, to avoid overhead when establishing new tcp/ip connections? And in case of managed environment, is it possi...

Check Connection on iPhone

Hello i have i problem. If i want to check my iPhone-app for internet connection, i always get this error message: * +[Connection isConnected]: unrecognized selector sent to class 0x3bcd500 Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '** +[Connection isConnected]: unrecognized selector sent to class...

ASP.NET Databse Connect.

Hello when i run my application on server, the connection doesn't open --> my dataset is still closed Dim strconnect As String = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + "rootPath" + "\" + "VSS_TESTDB.mdb" + "Persist Security Info=False" Dim objConnection As New OleDbConnection(strconnect) Dim sql As String = "SELECT VS...

Force the Opening of the DataContext's Connection (LINQ)

Hi, When you create a datacontext, its connection is closed until you retrieve objects and it stays open when you retrieve objects in case you use deferred operators or late binding. Is it possible (in an extension method of the datacontext of not) to force the datacontext to open its Connection without querying LINQ with LINQ or doing...

dynamically change mysqli connection timeout in PHP

Hi, how can I dynamically change MySqli connection timeout using PHP? I found the following manual that you can set an option after a connection is opened, but it says it only support Windows since PHP 5.3.1: http://www.php.net/manual/en/mysqli.options.php I'm using PHP5.2.4, MySQLi (improved version) the default connection timeout is...

Making a TCP connection through a restrictive outbound firewall

I'm using Java to create a client/server application that communicates using TCP. The network that the client is running on has an outbound firewall that prevents the client from connecting to the server. Is there any way/workaround to create a TCP connection through this firewall? I have tried to use common ports that are open such as ...

Testing a slow connection

I am hearing of a report that my website crashes, when she is at home. She has not had a problem with the website in the past, and the only factor seems to come when she is at home, where her internet connection is dialup. My site is only 140KB, but it does use Scriptaculous and jsMath libraries. The latter one has an error when loa...

TCPIP server single connection

i need some tips! i am using c# sockets Asynchronous mode. i need to serve only one connection in my application from a server point of view. once one is connected then i would like to refuse any more connection requests. also the server only serves to connect to a single client. when the communication is done the server has to be res...

iphone: do a webservice request automatically

Hi.. I need to do an automatic webservice request every second in my application to maintain my 3g connection. Anyone got any pointers on how to do this effectively? Thanks! ...

Java Https default retry mechanism

Is there a default retry when using sun HttpsUrlConnection ? If so, how can I cancel it ? ...

connection between IIS and client browser

Hi all expert, I was googling the below question but didn't get appropriate answer. what is the connection between IIS and client browser? How do they communicate? Thanks, Programmer ...

C# Client-Server application problem

I run my application on a network and in some cases the client lost connection to the server. After this time, when I wanted to send a message to the server I receive the following error: Operation not allowed on non-connected sockets (something like this). I thought to create an event for object type TcpClient and when tcp_obj.Connecte...

Connecting to Oracle DB through NetBeans

Hi, I'm using NetBeans and I need to connect to Oracle Database. I set up the driver and the connection and it all works fine. I can run queries on this connection just fine (through the IDE). The problem is this- The tables I want to work with are not defined on the same schema that I use for the connection, although, my schema does ...

Options for application communication between two android phones

I need to establish communication between two android phones (same application, if maters). Is there any possibility for android application establish an data stream via bluetooth (so there is no need for internet connection)? Or (UDP)TCP/IP over internet is currently best solution? ...

What is the standard way to constantly check SQL Server connection?

In a WPF application I use LINQ to SQL queries inside try - catch constructions to process exceptions, in case there is something wrong with DB server connection. The problem is - I have some queries executing on a timer-polling basis. So, if connection fails, I have numerous long queries attempts and UI is freezing. What is the stand...

Dynamic Connection String for a Strongly Typed Dataset

I have an asp.net nTier application. The data access layer is a strongly typed DataSet consisting of multiple DataTables with DataAdapters. When the user logs in, they choose which database to connect to (from a table in the membership database). I need to pass the selected connection string into the DataSet object which will remain the ...

one database connection object in asp.net mvc model

I have asp.net mvc site, my action generate the page, using master page. on master page included widgets by RenderAction helper. How can i use one database connection in page controller and in widget controller? ...