I am trying to help one of my customer to migrate a very old vc++ program which works on Windows 2003 as a win32 service to x64. It was compiled with VC 2005. I have migrated to VC 2019 with windows SDK 10 & Windows 10. There were few minor issues in DB and windows ..
Category : sockets
I’m trying to create a function which gathers all IPs present on the machine and will be able to detect when the IP in parameter is present. The Issue is that the value of the variable containing my IP is changing after an inet_ntoa done on another IN_ADDR. I tried to use std::string without success. ..
Running in Docker on a MacOS, I have a simple server and client setup to measure how fast I can allocate data on the client and send it to the server. The tests are done using loopback (in the same docker container). The message size for my tests was 1000000 bytes. When I set SO_RCVBUF ..
I want to make a program that has low level (UDP) connection and higher level (HTTP, WS) connection. For lower lever I’m using the ASIO STANDALONE lib and for the higher level Restbed lib which I build on my pc with the same version of ASIO lib. My problem is that both libs work perfectly ..
In my code basic connectivity and file transfer(.csv) work. But I want to send a file periodically from server to client in C++ every 10 seconds with updated data. I tried many things from google but didn’t find anything. I tried while loop to send the file(.csv) 300 times to a client but got, the ..
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 work. sendto(sockfd, &message, sizeof(message), 0, (struct ..
I have a broadcast channel with people talking on it in UDP and its working however i want to send sometimes private message , but my socket is in broadcast mode ? I have the Ip on the people i want to contact privately. It’s very annoying to create a new socket , so i ..
I got that application to a college class, where I need to do a Program in Java and it’s interface. In the first stage of the class, we did the first part of the app in C++, and now, the teacher wants we do it again on Java, but now with interface, using Swing. So ..
I want to have my iOS devices (iphone and ipad) be socket clients that communicate in full duplex with my socket server on Windows. Source: Windows..
DETAILS… I want to run full duplex communication between a Swift client POSIX socket on iOS (iPhone) and a C/C++ server POSIX socket on Windows 10. Windows 10 server is built with MinGW ("Minimalist GNU for Windows"). iOS client is built with Xcode. Source: Windows..
Recent Comments