Newsgroups: alt.winsock.programming
From: "SenderX" <x...@xxx.xxx>
Date: Thu, 05 Jun 2003 07:46:27 GMT
Local: Thurs, Jun 5 2003 3:46 am
Subject: Re: Automatic WSAEVENT thread pooling, handles thousands of 'em...
> So when will you write a udp speed test to show off it's performance ? :D Actually... I am going to have a UDP file transfer system for Socket Peer API's to use. I have already explained this algo in a previous post: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=M... Read my posts in the thread. The UDP data session, has to mixed with a TCP control session. This gives us The TCP control session is in direct control of UDP data sessions. You can use a single TCP control session to manage concurrent file The rough protocol would be as follows: 1. Starting a session A client would connect to the server via. TCP. 2. Client file request The client would send a request via. TCP. The server would get the request, and send a response saying that UDP 3. Server sending file The server would follow the response, with UDP packets containg file data The server would blast the whole file there. The server would send a request to the client asking it if it got If the client hasn't received the entire file by the time it got the ( you Your using UDP for data transfer, and TCP as a controller. This should be faster than TCP for transferring large files... What do you think? -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||