Please support our C advertiser: Programming Forums
![]() |
•
•
Join Date: Jun 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
![]() |
Similar Threads
Other Threads in the C Forum
- Bridge.dll Help! (Viruses, Spyware and other Nasties)
- Rundll32.exe error on shut down & Home Page being overidden (Viruses, Spyware and other Nasties)
- Help me with my HijackThis log (Viruses, Spyware and other Nasties)
- I don't know what to do or to remove *help* (Viruses, Spyware and other Nasties)
- hijackthis log: please review (Viruses, Spyware and other Nasties)
- Hijacked Internet Explorer--log included (Viruses, Spyware and other Nasties)
- CommonName big problem (Windows NT / 2000 / XP / 2003)
Other Threads in the C Forum
- Previous Thread: disabling ctrl c interrupts
- Next Thread: Winsock2.h and Platform SDK
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode