944,117 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2862
  • C RSS
Jun 16th, 2005
0

Winsock LSP

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
khaagner is offline Offline
1 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: disabling ctrl c interrupts
Next Thread in C Forum Timeline: Winsock2.h and Platform SDK





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC