| 455 | } |
| 456 | |
| 457 | void socketError(void *the, void *refcon, uint8_t *message, uint16_t messageLength) |
| 458 | { |
| 459 | xsSocket xss = (xsSocket)refcon; |
| 460 | //int32_t err = qapi_errno(xss->skt); |
| 461 | |
| 462 | socketUpUseCount(the, xss); |
| 463 | |
| 464 | xsBeginHost(the); |
| 465 | xsCall1(xss->obj, xsID_callback, xsInteger(kSocketMsgError)); //@@ report the error value |
| 466 | xsEndHost(the); |
| 467 | |
| 468 | socketDownUseCount(the, xss); |
| 469 | } |
| 470 | |
| 471 | void listenerConnected(void *the, void *refcon, uint8_t *message, uint16_t messageLength) |
| 472 | { |
nothing calls this directly
no test coverage detected