khaagner 0 Newbie Poster

Hi,


Inherited problem in that a programmer has left for better pastures overseas and that without trace - no source code found just a working prototype that actually needs very little modification.

The application connects to our website and downloads information to the PC's SCREEN. Need however for this information to also be written to a file.

Did some research on internet and found that a layered service provider to the winsock 2 could be written to "copy" this stream to storage without any modification to the stream.

However, have found that 'WSPDuplicateSocket' merely duplicates the information structure and not the socket - any subsequent socket creation and connection is refused.

Somebody please put me in the right direction so as to 'pipe' and 'tee' this Winsock 2 data stream to a file and to the screen without affecting the current stream configuration.

Thanks,
Ken.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.