By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,786 Members | 2,241 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,786 IT Pros & Developers. It's quick & easy.

WinSock

P: n/a
Hi,

I'm writing app where I use WinSock, but I have experienced a problem.
WinSock only sends the data after finishing the calling sub/function. Can I
force WinSock immediately as I need to send several packets but they have to
be sent separate?

Many thanks
Niels Borg
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Niels Borg" <nb****@hotmail.com> wrote in message
news:3f***********************@dread16.news.tele.d k
Hi,

I'm writing app where I use WinSock, but I have experienced a problem.
WinSock only sends the data after finishing the calling sub/function.
Can I force WinSock immediately as I need to send several packets but
they have to be sent separate?


the winsock control benefits a lot from using DoEvents

be aware that tcp/ip packets are split and/or merged in transit so what you
send will arrive in the same order but not necessarily the same number and
size packets

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.