Compile and run the code as follows.
Start the reader
./AsioUdp -s reader -a [login to view URL] -p 2000
Start the writer
./AsioUdp -s writer -a [login to view URL] -p 2000
Observe the output. Note: AsioUdp was the name of my executable. Yours might be named differently.
a) Need to add multicast support to the code
b) I dislike the fact that the UdpWriter has to issue [login to view URL] to start writing messages (see create function). Need alternative
c) Not sure if it makes sense to separate reader logic vs writer logic. For example: reader calls Open and binds. A writer does not. Let's discuss
d) Not sure how strands work and if design could be simplified using strands. Lets discuss
e) Would be nice to know if WriteComplete failed. Thoughts/lets discuss
Project requires boost
Code MUST be portable
You MUST have a good understanding of modern C++ and boost asio usage
12 freelanceria on tarjonnut keskimäärin 533$ tähän työhön
Hello! I'd like to deliver network solution. I'm familiar with fibers, thread pool executor, unified data grams. I'll do the job fairly good. Please, give me a try!
Hello I've checked your source code. It needs C++ boost library. I can complete all of your 5 requirements. I'm good at C++, CMake and so on. If you hire me, I'll do my best. Thanks.
The code, as posted here, does not compile. The files, [login to view URL] and [login to view URL] gave compilation errors. g++ -c -o main.o [login to view URL] [login to view URL]: In member function ‘void UdpWriter::OnWrite(boost::asio::io_service&)’: main. Lisää