From: Rick Jones <rick.jon...@hpe.com> Date: Wed, 30 Nov 2016 09:42:40 -0800
> And indeed, based on a quick check, send() is what is being called, > though it becomes it seems a sendto() system call - with the > destination information NJULL: > > write(1, "send\n", 5) = 5 > sendto(4, "netperf\0netperf\0netperf\0netperf\0"..., 1024, 0, NULL, 0) > = 1024 > write(1, "send\n", 5) = 5 > sendto(4, "netperf\0netperf\0netperf\0netperf\0"..., 1024, 0, NULL, 0) > = 1024 > > So I'm not sure what might be going-on there. It's because of glibc's implementation of send() which is: ssize_t __libc_send (int sockfd, const void *buffer, size_t len, int flags) { return SYSCALL_CANCEL (sendto, sockfd, buffer, len, flags, NULL, 0); } strong_alias (__libc_send, __send) weak_alias (__libc_send, send)