[gameprogrammer] Re: detecting termination signal in win32 and linux
- From: "Chris Nystrom" <cnystrom@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sat, 1 Apr 2006 01:37:55 -0600
On 3/31/06, Roger D Vargas <luo_hei@xxxxxxxx> wrote:
> I need to detect when the program receives a termination signal to save
> player data and send a bye packet. But I need some portable way to do
> it, is this possible or I need to implement specific code for each OS?
I am not sure what you mean by a termination signal. Are you talking
about a client / server message indicating end of transmission, or are
you asking what happens if the session is disconnected before such a
message can be sent?
Chris
--
E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx>
http://www.newio.org/
AIM: nystromchris
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: detecting termination signal in win32 and linux
- From: Roger D Vargas
Other related posts:
- » [gameprogrammer] detecting termination signal in win32 and linux
- » [gameprogrammer] Re: detecting termination signal in win32 and linux
- » [gameprogrammer] Re: detecting termination signal in win32 and linux
- » [gameprogrammer] Re: detecting termination signal in win32 and linux
- [gameprogrammer] Re: detecting termination signal in win32 and linux
- From: Roger D Vargas