Poster of Linux kernelThe best gift for a Linux geek
YEventDisconnect

YEventDisconnect

Section: Y Version 2 (3) Updated: Release 14
Local index Up
 

NAME

YEventDisconnect - Y disconnect event structures  

STRUCTURES

typedef struct {


        int reason;

} YEventDisconnect;

When you receive this event it means that the Y server has disconnected the Y client application. This can be due to a variety of reasons, the reason code member determines this. Typical values are 0 for normal disconnect and non-zero for error. Each Y server may report different error (non-zero) reason codes in accordance with its own standards.

When you receive this event, you should call YCloseConnection immediatly afterwards.  

SEE ALSO

YEvent(3) YEventAudioChange(3) YEventServerStats(3) YEventCycleChange(3) YEventHost(3) YEventSoundKill(3) YEventMixer(3) YEventSoundPlay(3) YEventSoundObjectAttributes(3) YEventShutdown(3) YEventSync(3) YEventAudioStats(3) YEventYSHMSound(3) YEventAudioCDStats(3) YGetNextEvent(3) YPutBackEvent(3)


 

Index

NAME
STRUCTURES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:59:20 GMT, April 16, 2011