Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

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