12-07-2006
Quote:
Originally Posted by jimmyc
Our application opens tcpip ports. I could poll that port ever 15 minutes if its gone then I might have a pretty good idea our app is toast.
Could you make a persistent connection, and wait for it to close?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
Discussion started by: benefactr
5 Replies
2. UNIX for Dummies Questions & Answers
Careful!!! This is a newbie question!
Hello Community
I'd like to develop a very simple application, on the one side (some windows pcs with a listener and sender) on the other side a linux server that does the same.
Any suggestions about doing that? telnet, smbclient?????
It must be... (3 Replies)
Discussion started by: ncatdesigner
3 Replies
3. UNIX for Dummies Questions & Answers
Strange one this...
One of our contacts switched FTP servers, a different IP and now using port 2121 instead of 21.
Changed the details in a Windows application using the username & password provided and it works no problem.
Tried to FTP through Unix and although I can connect to the... (2 Replies)
Discussion started by: macca74
2 Replies
4. Windows & DOS: Issues & Discussions
So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.
My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies
5. Windows & DOS: Issues & Discussions
I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies
6. UNIX for Dummies Questions & Answers
Please, I have a professional application that run only over windows, but I have a Full Sun Fire 445 for that. Someone can sugest me about how to do? Wich S.O can be use. Thanks before hand.
Please read the forum rules again. Rule #9 should be in your focus. Thank you! (9 Replies)
Discussion started by: abelop
9 Replies
7. OS X (Apple)
hi,
i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies
8. OS X (Apple)
I've searched a number of sites but thought I'd post it here. I'm want to a detect certain usb device (external camera) that is actively being used by an app on a mac.
My search has led me through looking at the system events log to see if there is a ProductID indicator logged. The device is... (2 Replies)
Discussion started by: dallas88
2 Replies
9. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT PHP
msql_pconnect
MSQL_PCONNECT(3) MSQL_PCONNECT(3)
msql_pconnect - Open persistent mSQL connection
SYNOPSIS
resource msql_pconnect ([string $hostname])
DESCRIPTION
msql_pconnect(3) acts very much like msql_connect(3) with two major differences.
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host. If one is found,
an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use (msql_close(3) will not close links established by this function).
PARAMETERS
o $hostname
- The hostname can also include a port number. e.g. hostname,port. If not specified, the connection is established by the means
of a Unix domain socket, being more efficient than a localhost TCP socket connection.
Note
While this function will accept a colon ( :) as a host/port separator, a comma ( ,) is the preferred method.
RETURN VALUES
Returns a positive mSQL link identifier on success, or FALSE on error.
SEE ALSO
msql_connect(3), msql_close(3).
PHP Documentation Group MSQL_PCONNECT(3)