Top "Sendto" questions

sendto() is a system call used to transmit a message to another socket.

Raw socket sendto failed using C on Linux

I'm trying to send a raw packet using UDP, with the IP and UDP headers that I have constructed in …

c udp raw-sockets sendto
Invalid argument in sendto when using interface name to set IP_MULTICAST_IF

I am writing a small program that sends and receive multicast packets.I need to set the outgoing interface with …

sockets multicast sendto setsockopt
Sockets sendto() returning EINVAL

I'm trying to send a UDP packet in C. I have the following sendto(): char* msg = "Hello"; //ret is the …

c sockets udp ipv4 sendto