Merge pull request #10 from mikhail4021/master

a bug and warnings
fixed compilation error
send multiple messages
send multiple messages
Merge pull request #3 from orignal/master

update