214 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
31
views
ClickOnce App Doesn't Launch from "Send To" Shortcut
I have a Winforms application published using ClickOnce. I want users to be able to right-click a file in Windows Explorer and select "Send To → Crawler", which should then launch my ...
0
votes
0
answers
228
views
UDP sendto() function occasionally takes too long
I’m using UDP function sendto(), According to the UDP protocol, the function should send/discard the datagram and then return immediately,
However, in my test, I found that in a LAN, when I sending a ...
0
votes
1
answer
101
views
Signal interrupt sendto/recvfrom on datagram socket
What happens if signal interrupts sendto or recvfrom call on datagram socket? Can I expect that these calls always return -1 with errno == EINTR or they can return positive number of bytes, but I ...
1
vote
1
answer
2k
views
How to fix `EPERM` error when trying to use `sendto()` with Ethernet `socket(AF_INET, ..., ...)` (IP output packets) on Linux
Here is a massively reduced code sample, following my code from my eRCaGuy_hello_world repo here as a pattern: socket__geeksforgeeks_udp_client_GS_edit_GREAT.c:
#define SOCKET_TYPE_UDP_IPV4 ...
0
votes
1
answer
114
views
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 ...
0
votes
0
answers
240
views
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 ...
1
vote
1
answer
293
views
How to read and transfer PDF files in C with fread()
I'm writing TFTP client in C. So far I had no problem with reading file into buffers(512 B) and transfer it to the server. However I'm struggling to read files like PDF that contains binary data.
...
2
votes
0
answers
572
views
file transfer using stop and wait protocol and udp protocol in C
I want to send a file using UDP with stop and wait protocol. I have a client and server code that is working fine with a single input string.
I was trying to change the code for file transfer but no ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
402
views
problems sending structure UDP Socket
I'm new to c++ and need help.
I use an UDP server to receive structure however i have problem to read it , the client send a structure I call : ChannAccessReq so the structure is send and the server ...
0
votes
1
answer
1k
views
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 (...
1
vote
1
answer
156
views
C++ send boost::dynamic_bitset with Winsock2 sendto function
I am trying to send raw bits from a boost::dynamic_bitset with the Winsock2 sendto function.
MS documentation shows that sendto uses const char * type for the buffer parameter.
How do I send only the ...
0
votes
3
answers
2k
views
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" ...
0
votes
0
answers
70
views
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 ...
0
votes
1
answer
415
views
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 ...