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 REDHAT
wireless
WIRELESS(7) Linux Programmer's Manual WIRELESS(7)
NAME
wireless - Wireless Tools and Wireless Extensions
SYNOPSIS
iwconfig
iwpriv -a
DESCRIPTION
The Wireless Extensions is an API allowing you manipulate Wireless LAN networking interfaces. It is composed of a variety of tools and
configuration files. It is documented in more details in the Linux Wireless LAN Howto.
The Wireless Tools are use to change configuration on the fly, to get statistics and diagnose those interfaces. They are described in their
own man page (see below).
Wireless configuration is specific to each Linux distribution. This man page will contain in the future the configuration procedure for a
few common distributions (when I get the necessary info from them). For the time being, check the various files included with the Wireless
Tools package.
DEBIAN 3.0
Debian 3.0 (and later) has integrated wireless configuration in their network scripts.
File : /etc/network/interfaces
Form : wireless_<function> <value>
wireless_essid Home
wireless_mode ad_hoc
See also :
/etc/network/if-pre-up.d/wireless-tool
/usr/share/doc/wireless.##/README.Debian
ORIGINAL PCMCIA SCRIPTS
If you are using the original configuration scripts from the Pcmcia package, you can use this method.
File : /etc/pcmcia/wireless.opts
Form : *,*,*,*)
ESSID="MY_ESSID"
MODE="Managed"
;;
See also :
/etc/pcmcia/wireless
File PCMCIA.txt part of Wireless Tools package
AUTHOR
Jean Tourrilhes - jt@hpl.hp.com
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
SEE ALSO
iwconfig(8), iwlist(8), iwspy(8), iwpriv(8), iwevent(8).
net-tools 12 July 2002 WIRELESS(7)