Subj : Sync/Door Programming Question To : alt.bbs.synchronet From : kmcmahon70 Date : Mon Sep 19 2005 12:55 pm From Newsgroup: alt.bbs.synchronet Hi Folks I've been looking at the door32.sys specs supported by Synchronet and have found a question regarding the socket handle parameter: After sync has written the socket id to the door32.sys file, how is the socket released for the door to use? Inheritance of the socket handle? Playing around with my windows box I find that I can retrieve the socket and perform the needed operations, but when I am ending my door and want to return to the BBS what is the proper way to release the socket? Winsock specs claim that WSACleanup() must be called once per each call to WSAStartup()... this call, however, seems to destroy the socket I picked up from door32.sys and thus when Sync gets it back it appears as if the caller disconnected. If I don't call WSACleanup() at the end, it works well but I have a feeling this is the wrong/bad way to do this. Thanks in advance, Kyle --- Synchronet 3.13a-Win32 NewsLink 1.83 .