| 379 | } |
| 380 | |
| 381 | void socketConnected(void *the, void *refcon, uint8_t *message, uint16_t messageLength) |
| 382 | { |
| 383 | xsSocket xss = (xsSocket)refcon; |
| 384 | |
| 385 | socketUpUseCount(the, xss); |
| 386 | |
| 387 | xsBeginHost(the); |
| 388 | xsCall1(xss->obj, xsID_callback, xsInteger(kSocketMsgConnect)); |
| 389 | xsEndHost(the); |
| 390 | |
| 391 | socketDownUseCount(the, xss); |
| 392 | } |
| 393 | |
| 394 | void socketDisconnected(void *the, void *refcon, uint8_t *message, uint16_t messageLength) |
| 395 | { |
nothing calls this directly
no test coverage detected