Home > Software engineering >  VB6 Winsock UDP protocol to send data to make mistakes
VB6 Winsock UDP protocol to send data to make mistakes

Time:09-18

In VB6.0 by use environment, using the Winsock using UDP protocol to transmit data, data appear the following error:
'10035' :
Socket is not a block, the specified action will block

Data volume of more than 8192 bytes (roughly 50000 bytes), and so have done a block to send, send data using a loop block, but after sending some data error,
Check some information said send speed too fast, the previous data has not been sent out, so an error, I tried to send with the Timer, but the efficiency is too slow,
Excuse me what method to solve this mistake, my goal is to take these data broadcast to go out, because TCP protocol can't broadcast, no words of TCP is good to send,
Could you tell me ever do a radio, in what way, please give directions,

CodePudding user response:

SendComplete event tried yet?

CodePudding user response:

The UDP protocol will not trigger SendComplete, SendProgress events, UDP is unreliable protocol, feel it's too unreliable, regardless of VB6.0 by use what some network control well? Can broadcast data,

CodePudding user response:

Wouldn't you send your control frequency and bandwidth, feedback,...
While talking on the phone, you don't just say the words don't listen to each other?

CodePudding user response:

1, the block of data points and small some 2
2, all send to multiple SOCKET send task distribution

CodePudding user response:

Radio is generally small data, feedback to the server receives the broadcast terminal, server with more complex protocol (such as simply by using your reply feedback UDP or TCP) and terminal communications,
  • Related