Re: Communication speed between blocking call and non blocking call
- From: "Skywing" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Feb 2006 08:39:04 -0500
If you are looking for high performance than the best option would be to
investigate overlapped I/O (e.g. WSASend/WSARecv) instead of conventional
nonblocking socket calls.
"Anand Choubey" <AnandChoubey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B3926315-ECC9-47F1-91A8-C9456DCB4E47@xxxxxxxxxxxxxxxx
Hi
As we know there are two main methods for socket communication
1. winsock blocking calls
2. winsock nonblocking calls
I would like to know that which method is faster.
As I tested blocking call is much faster than nonblocking call
(WSAEnumNetworkEvents).
Blocking call gives me speed around 80Mbps whereas nonblocking
call(WSAEnumNetworkEvents) gives me around 10Mbps.
Please suggest me that How to increase speed for nonblocking
call(WSAEnumNetworkEvents).
I tested under windows 2000 Server.
--
With regards
thanks
Anand Choubey
.
- Follow-Ups:
- Re: Communication speed between blocking call and non blocking call
- From: Eugene Gershnik
- Re: Communication speed between blocking call and non blocking call
- Prev by Date: Re: Inconsistency in TCP sockets behavior between Windows and Linux
- Next by Date: IP static
- Previous by thread: Inconsistency in TCP sockets behavior between Windows and Linux
- Next by thread: Re: Communication speed between blocking call and non blocking call
- Index(es):
Relevant Pages
|