| 1716 | } |
| 1717 | |
| 1718 | U32 syscall_connect(CPU* cpu, U32 eipCount) { |
| 1719 | SYS_LOG1(SYSCALL_SOCKET, cpu, "connect socket=%d address=%X(%s) len=%d", ARG1, ARG2, socketAddressName(cpu->memory, ARG2, ARG3).c_str(), ARG3); |
| 1720 | U32 result = kconnect(cpu->thread, ARG1, ARG2, ARG3); |
| 1721 | SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result); |
| 1722 | return result; |
| 1723 | } |
| 1724 | |
| 1725 | U32 syscall_listen(CPU* cpu, U32 eipCount) { |
| 1726 | SYS_LOG1(SYSCALL_SOCKET, cpu, "listen socket=%d backlog=%d", ARG1, ARG2); |
nothing calls this directly
no test coverage detected