1

Topic: Question about Winsock events

There is a task - to send a lot of information on the server (and to accept a little). In the library, implementing the protocol, the socket overlapped through which all and is sent is opened. There is a possibility to install callback on itself, that procedure of sending given to fulfill most. The question (for with it it is not enough experience, and Google in any way does not produce a secret) - whether gives usage events any bonuses? Roughly speaking, the variant of times - is a separate flow which sends the data to library. The variant two - is a flow which through WSAEventSelect (FD_WRITE) waits for resolution and is already independent in  from library is engaged in mailing . What for all it? At some clients quickly enough there comes the unpleasant moment in the form of error WSAECONNABORTED (10053), the reason is not clear. Send the buffer automatically I increase according to idealsendbacklogquery. Data flow rate on the server does not exceed possibility of a piece of iron, the server is all too can digest. Here

2

Re: Question about Winsock events

Hello, CyberDemon, you wrote: CD> What for all it? At some clients quickly enough there comes the unpleasant moment in the form of error WSAECONNABORTED (10053), the reason is not clear. Send the buffer automatically I increase according to idealsendbacklogquery. Data flow rate on the server does not exceed possibility of a piece of iron, the server is all too can digest. Here Make downloading given by parts with renewal after rupture, atop HTTP, implemented by any known library. Will be much less trouble.

3

Re: Question about Winsock events

Hello, Glory, you wrote: Make downloading given by parts with renewal after rupture, atop HTTP, implemented by any known library. Will be much less trouble. "My" protocol not http, does not suffer restorations ( the data), known libraries is not present (or they cost more expensive the pig-iron bridge). Well still I know what to work all should without  (competitors work). An ambush.

4

Re: Question about Winsock events

Hello, CyberDemon, you wrote: CD> What for all it? At some clients quickly enough there comes the unpleasant moment in the form of error WSAECONNABORTED (10053), the reason is not clear. Send the buffer automatically I increase according to idealsendbacklogquery. Data flow rate on the server does not exceed possibility of a piece of iron, the server is all too can digest. Here Vaershark remove and try to understand that happens at level TCP.

5

Re: Question about Winsock events

Hello, CyberDemon, you wrote: CD> What for all it? At some clients quickly enough there comes the unpleasant moment in the form of error WSAECONNABORTED (10053), the reason is not clear. Send the buffer automatically I increase according to idealsendbacklogquery. Data flow rate on the server does not exceed possibility of a piece of iron, the server is all too can digest. Here Such error speaks about problems either with a network or with a receiving party...

6

Re: Question about Winsock events

Hello, CyberDemon, you wrote: CD> "my" protocol not http, does not suffer restorations ( the data), known libraries is not present (or they cost more expensive the pig-iron bridge). What for the protocol, what name? If  any over what runs - TCP or UDP?