Solved

Winsock Getdata can not receive all message

Posted on 2007-12-06
3
291 Views
Last Modified: 2013-11-13
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
Comment
Question by:mthu
  • 2
3 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 20418815
do you use sckTCPProtocal?
0
 

Author Comment

by:mthu
ID: 20425071
sorry, I don't use it. Please advise how to use it.
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 100 total points
ID: 20426670
winsock1.protocal = sckTCPProtocal
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to implement Singleton Design Pattern in Java.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now