Solved

Winsock Getdata can not receive all message

Posted on 2007-12-06
3
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

730 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