Top "Sendto" questions

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

Passing a structure through Sockets in C

I am trying to pass whole structure from client to server or vice-versa. Let us assume my structure as follows …

c sockets recv sendto
sendto : Resource temporarily unavailable (errno 11)

I am having a problem with sendto. I have a receiver who receives UPD packets with recvfrom and then replies …

c sockets udp sendto
unix socket error 14: EFAULT (bad address)

I have a very simple question, but I have not managed to find any answers to it all weekend. I …

c sockets udp sendto
Socket programming: sendto always fails with errno 22 (EINVAL)

I am always getting no bytes sent, with an errno of 22 (EINVAL, Invalid Argument) with this code. The destination_host …

c sockets udp sendto
Sending structure using recvfrom() and sendto()

I am using C language which is a common platform for both the server and the client. I have a …

c sockets struct network-programming sendto
Socket - Permission denied in C

I'm trying to get an MX record from an DNS server in C. My problem is, that everytime I call …

c sockets permission-denied sendto
recvfrom: Bad address, sendto: Address family not supported by protocol

i'm trying to implement a little UDP-Server/Client Application in C and got two errors on Server-side: recvfrom: Bad address &…

c udp chat recv sendto
Sending ICMP packets in a C program

I'm trying to create an ICMP ping test program in C but am having difficulties with successfully sending the packets. …

c ping icmp sendto
Help with Sending/ Receiving UDP packets - C Sockets

Ok, if you look at some of my previous questions, I've been working on getting a simple connection up and …

objective-c sockets recv sendto multicastsocket
UDP socket sendto() functions

I get an error if I want to write on my udp socket like this. According to the docu there …

python sockets sendto