-
August 20th, 2016, 05:53 PM
#1
Boost::Asio Server reads blank message from client, even after the write handle finis
I try to write an async message to the server from my client code, the write handler gets called with the correct bytes sent; however, the server receives 0 bytes.
Cliente output:
Code:
You are connected
You received the following message from the server: Sat Aug 20 17:42:01 2016
Sending...
Server output:
Code:
Server is online!
127.0.0.1:51973 connected!
Client has received the messaged.
You received the following message from the server:
server source: http://pastebin.com/h9ty5N9w
client source: http://pastebin.com/yv2z4na0
-
August 21st, 2016, 02:39 AM
#2
Re: Boost::Asio Server reads blank message from client, even after the write handle f
Please, attach your code snippets to your post in this Forum.
Also read the Announcement: http://forums.codeguru.com/announcement.php?f=7
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|