Questions tagged [sendto]

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

sendto() is a system call used to transmit a message to another socket. It is used on a connection-mode socket.

Reference:

217 questions
-1
votes
2 answers

sendto() does not generate error if destination does not exist

I am using sendto() function in C. I have set the destination address and dest port. While sending UDP frames I can see the frames in Wireshark and the number of packet Wireshark shows are exactly as I have defined in my program. The problem is even…
-1
votes
1 answer

Error with sendto function

I am currently trying to set an UDP protocol between two computers. The first one is a Windows driven computer and the second one is a Raspberry Pi with Raspbian OS. The problem is that I am able to send information from the Raspberry Pi to the…
sebs
  • 1
  • 1
  • 2
-1
votes
1 answer

sendto() : Invalid argument - raw socket

I want to access ip header using raw socket, change TTL value and forward the packet to the client. Adress of server is 192.168.1.5 and adress of client is 192.168.1.3. I have problem with sendto() function, error handling prints out: sendto()…
-1
votes
2 answers

Getting the socket descriptor from the address?

In sendto: ssize_t sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); From this call I have the socket descriptor of the sending socket, is there a way to get the socket…
Bionix1441
  • 2,135
  • 1
  • 30
  • 65
-1
votes
1 answer

how can i split an instance of my packet class into chunks and send them with socket_sendto function?

I have packet like this class Packet { private $DATASize; private $signature; private $version; private $HSIZE; private $SessionIDUser1; private $SessionIDUser2; …
MONTYHS
  • 926
  • 1
  • 7
  • 30
-2
votes
1 answer

sendto(): Transport endpoint is not connected error while trying to send a response from server using UDP

I was trying to do simple client-server program using UDP where i'll send one string form client to server and the server acknowledge "got it". Things are working fine until i try to send the ack. The send to generates a "Transport endpoint is not…
Ps Akshay
  • 148
  • 8
-2
votes
1 answer

PC to Phone via batch file

I would like to send a .mp3 file to my android phone from my pc through my home network, I can successfully do this with Asus's program 'remote go'. To transfer a file with 'remote go' from pc you just right click file icon and use the SendTo, then…
Joe
  • 1
1 2 3
14
15