| 1709 | } |
| 1710 | |
| 1711 | U32 syscall_bind(CPU* cpu, U32 eipCount) { |
| 1712 | SYS_LOG1(SYSCALL_SOCKET, cpu, "bind socket=%d address=%X(%s) len=%d", ARG1, ARG2, socketAddressName(cpu->memory, ARG2, ARG3).c_str(), ARG3); |
| 1713 | U32 result = kbind(cpu->thread, ARG1, ARG2, ARG3); |
| 1714 | SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result); |
| 1715 | return result; |
| 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); |
nothing calls this directly
no test coverage detected