12-04-2008
Wireless C program conncection interruption problem
Dear Gurus
My company has a wireless handheld C program as text-mode workstations in remote sites. We suspected that the program get interrupted sometimes because of out-of-wireless access and hence resulted in db record locking and other issue. It did trouble us a lot.
Is it possible to use fork() and signal() to detect Hangup or Interrupt so as to kill the process automatically? However, I wondered whether wirless connection interruption would not pose SIGINT or SIGHUP to the process, right? Or, any other ways to tackle the problem (a small program example)?
Thank you
Dummy
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
I have a wireless setup in my house and i connect my laptop thru the wireless setup ..
The problem is that one of my other friends has a wireless setup too and his wireless signal comes to my house too ..
The effect is that it drops my service after sometime and connects to it .. then drops... (3 Replies)
Discussion started by: DPAI
3 Replies
2. Cybersecurity
My wlan is working fine if theres no encryption. But as soon as i activate encryption, netcardconfig doesn't work trying to get dhcp...
iwconfig says that there is an access point (shows the mac address)
what could be the Problem? (0 Replies)
Discussion started by: jrosset
0 Replies
3. Ubuntu
I tried this
Working wireless broadcom b43 hardy 8.04 - Ubuntu Forums
and it worked the first time.
Now there is something else because the lamp that indicates that the card is running is working.(it wasnt the first time). Now I just cant find any wireless network. I dont know how this... (3 Replies)
Discussion started by: isato
3 Replies
4. Red Hat
Hi All,
I have util-linux upgrade that I need to do on redhat 4 ent. Does this going to interruption with the operation of the OS or application? Or this will be straight forward upgrade that will not make a harm or downtime of the OS.
Thank you for any comments you may add. (3 Replies)
Discussion started by: itik
3 Replies
5. Programming
hi all,
I've written a Server socket program in C++, In my program Device Id is a unique one through which I accept the client connection. My code has to pass the below two test case.
1. If a client the the same device is connceted already, i've to reject the new conncetion.
2. If i... (2 Replies)
Discussion started by: vij_krr
2 Replies
6. Shell Programming and Scripting
Hi ,
Loggin to another host using the below command in my shell script
ssh-keygen > /dev/null
ssh-copy-id -i ~/.ssh/id_rsa.pub
My problem is , the second commmand expecting a user input
Eg :
Press Enter for below three questions and issue your password
Enter file... (9 Replies)
Discussion started by: arukuku
9 Replies
7. AIX
Hi
Through nimadm (alt_disk_install) we done aix os upgrade in 3 lpars from aix 5.3 to aix 6.1. upgrade was successful.
After the upgrade users complained on their ssh keys.
Does upgrading aix version affects the user's ssh keys ? If so please suggest on options to correct them. (1 Reply)
Discussion started by: newtoaixos
1 Replies
8. Linux
Hi everyone,
I am new to linux. I have installed ubuntu and I am booting together with window. But I have a problem of wireless connection in ubuntu.
If I start booting using ubuntu no wireless networks become available. If I first open window and restart it and open ubuntu then only I can get... (2 Replies)
Discussion started by: nishrestha
2 Replies
9. Android
Good day, everybody! I have a mobile phone (LG Optimus L5) with Android 4.0.3 and a tablet (PocketBook SurfPad 2) with Android 4.1.1 and I have problem with wireless network on these devices. Laptops don't have such problem. My wireless network organisation is a modem connected with an access point... (11 Replies)
Discussion started by: qzxcvbnm
11 Replies
10. What is on Your Mind?
Did not know where to post this.
Could someone help me with getting my wireless mouse to work?
I can post more specifics at that time.
Thanks. (9 Replies)
Discussion started by: drew77
9 Replies
LEARN ABOUT DEBIAN
skytools_upgrade
SKYTOOLS_UPGRADE(1) SKYTOOLS_UPGRADE(1)
NAME
skytools_upgrade - utility for upgrading Skytools code in databases.
SYNOPSIS
skytools_upgrade.py connstr [connstr ..]
DESCRIPTION
It connects to given database, then looks for following schemas:
pgq
Main PgQ code.
pgq_ext
PgQ batch/event tracking in remote database.
londiste
Londiste replication.
If schema exists, its version is detected by querying .version() function under schema. If the function does not exists, there is some
heiristics built in to differentiate between 2.1.4 and 2.1.5 version of ther schemas.
If detected that version is older that current, it is upgraded by applying upgrade scripts in order.
COMMAND LINE SWITCHES
Following switches are common to all skytools.DBScript-based Python programs.
-h, --help
show help message and exit
-q, --quiet
make program silent
-v, --verbose
make program more verbose
-d, --daemon
make program go background
Following switches are used to control already running process. The pidfile is read from config then signal is sent to process id specified
there.
-r, --reload
reload config (send SIGHUP)
-s, --stop
stop program safely (send SIGINT)
-k, --kill
kill program immidiately (send SIGTERM)
03/13/2012 SKYTOOLS_UPGRADE(1)