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
0
votes
1 answer

Multiple For Loops in Batch Script on same Content

I set up a batch (copy.bat) file in my Windows sendto Directory that is for Copying a bunch of files via rightclicking the directories and choosing sendto "copy.bat". @echo off setlocal enabledelayedexpansion set cnt=0 set cur=0 :files for /R…
0
votes
0 answers

Does sendto() bind ephemeral path to a unix domain socket automatically?

For a UDP socket, sendto() will attempt to bind an ephemeral port. For a Unix domain socket of datagram type, since there is no port concept, only a path address, does sendto() try to come up with a random path(which needs to be backed by a real…
QnA
  • 1,035
  • 10
  • 25
0
votes
1 answer

Using send-to in MOSS document library

I want to use the send-to option inside a MOSS document library to move the file to a folder in the same document library. If I select the url to the folder and then try the send-to option, it tells me the folder name is too long. All the best
78lro
  • 1,790
  • 7
  • 37
  • 63
0
votes
1 answer

Sending UDP packets via sendto

I want to send a datagram UDP message via sendto with 4-byte address, 1 short int number, and 4 bytes int distance. So it should be exactly 9-bytes. How can i do it? I already have tried to convert those values and put them in buffer, but it didn't…
0
votes
1 answer

Starting jupyter lab on remote computer throwing errors

I have anaconda version 4.9.2 and Jupyter lab version 2.2.9 installed on my Ubuntu 20.10 personal server. Until about two months ago, I was able to remotely start jupyter lab on my remote server (accessed through MobaXterm). I used this…
KVemuri
  • 194
  • 1
  • 16
0
votes
3 answers

Simple "SendTo" script on Windows

I would like to create a simple script containing : "C:\Users\Professional\NVEncC_5.24_x64\NVEncC64.exe" --codec h265 --preset quality --profile main10 --tier high -i "Project.mkv" -o "Project-Q27.mkv" that i can reach by Right Click => SendTo. I…
Koshinin
  • 35
  • 6
0
votes
0 answers

c - sendto/recvfrom not getting correct information on some end

I'm coding a server/client TCP implementation in c for class and I'm stuck, unsure why I'm not getting the correct data on one of the ends of my implementation. This only needs to work on a loopback address so I'm not too concerned with it working…
0
votes
1 answer

A batch file for ADB push using the "Send to" windows shortcut

Let's say I want a batch file to do adb push to a fixed folder on android but I want it to get the path of a file through the "Send to" shortcut on the context menu of Windows. Is it possible?
0
votes
0 answers

How do I convert a CAN message to the bytearray format needed by UDP sendto()?

I have a cangen process running that's sending out CAN traffic 1/second. (cangen can1 -D 1021324354c0ffee -L 8). I've connected my can1 and can0 ports together, and I can see that can1 traffic on can0 in my python3 program just fine, via …
0
votes
1 answer

C socket UPD sendto/revfrom timeout/retry

How can I retry sending (let's say using a while loop or something similar) in the following code that I have, whenever I have a timeout? I abridged some parts of my code. I am not familiar with C error codes and error handling so I don't know…
Tim Z
  • 3
  • 4
0
votes
2 answers

how can i send udp packet on interface connecting to server & server ip without knowing the server port in C++

If I know the network interface to which server is connected and server IP but don't know the server port. Can I send the UDP packets on interface so that server can receive it? What if i set server port 0 in sendto()? server_addr.sin_port = 0;
sebi
  • 1
0
votes
0 answers

How do I reduce the latency in sendto?

I am running an embedded linux system, streaming 6Mbps of UDP data to a known single point destination. I use sendto to send the data. What I have noticed is that although I can monitor the time between calls to sendto and when specific data is…
sibrown
  • 35
  • 1
  • 5
0
votes
1 answer

Sort selected files in sendTo

What's the way to sort a list of files, which is processed by a batch-file via sendTo-menu, eg: myDir file_1.txt file_3.txt hello.world foo.bar If I mark these files and call a batch file via sendTo-link to process those files, the order of…
Nico
  • 1,175
  • 15
  • 33
0
votes
1 answer

Extracting Multiple Rar/Zip Files via Right Click Batch File

I'm using this piece of code to extract my cbr/cbz files to the folders. Since I have a comic reader opens these files by default. I made this batch file and put it under shell:sendto So I can right click a cbr file and extract it to a new folder…
kopgamer
  • 1
  • 1
0
votes
1 answer

Linux C++ IPv6 UDP Multicast sendto fails with errno EADDRNOTAVAIL (99) Cannot assign requested address

I'm trying to send IPv6 UDP multicast messages. Part of test code below shows two parts, one for sending IPv6 multicast messages, the other for sending IPv4 multicast messages. Code for IPv4 works fine. Code for IPv6 always fails in sendto,…
yellow71
  • 21
  • 2