mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-10 02:25:46 +01:00
Added an example of how to create a network client using WMConnection
This commit is contained in:
@@ -169,6 +169,7 @@ inputHandler(int fd, int mask, void *clientData) /*FOLD00*/
|
||||
(void*)&result, &len) == 0 && result != 0) {
|
||||
cPtr->state = WCFailed;
|
||||
WCErrorCode = result;
|
||||
/* should call wsyserrorwithcode(result, ...) here? */
|
||||
} else {
|
||||
cPtr->state = WCConnected;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user