Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

Winsock Getdata can not receive all message

I have created a program to retrieve data from one package software by using Winsock. I have problem that we can not receive all messages if pakage software send bunch of messages at the same time. In the log file I see Package software send 100 messages but we only can receive 30 messages and those received messages are not continuesly (for example 10 first messages then 15th to 20th message...). I don't know what happend and I am newbee with Winsock. Please help.
0
mthu
Asked:
mthu
  • 2
1 Solution
 
EDDYKTCommented:
do you use sckTCPProtocal?
0
 
mthuAuthor Commented:
sorry, I don't use it. Please advise how to use it.
0
 
EDDYKTCommented:
winsock1.protocal = sckTCPProtocal
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now