|
|
1.1 ! root 1: ! 2: //----------------------------------------------------------------------------- ! 3: // This is a part of the Microsoft Source Code Samples. ! 4: // Copyright (C) 1993 Microsoft Corporation. ! 5: // All rights reserved. ! 6: // ! 7: // This source code is only intended as a supplement to ! 8: // Microsoft Development Tools and/or WinHelp documentation. ! 9: // See these sources for detailed information regarding the ! 10: // Microsoft samples programs. ! 11: //----------------------------------------------------------------------------- ! 12: ! 13: #include "windows.h" ! 14: #include "wsock.h" ! 15: RCINCLUDE wsock.dlg ! 16: wsockicon ICON wsock.ICO ! 17: ! 18: WSockMenu MENU ! 19: BEGIN ! 20: POPUP "&WinSock" ! 21: BEGIN ! 22: MENUITEM "&Check Host Name (gethostbyname)", IDM_HOSTNAME ! 23: MENUITEM SEPARATOR ! 24: MENUITEM "Co&nnect", IDM_CONNECT ! 25: MENUITEM SEPARATOR ! 26: MENUITEM "&Listen (blocking)", IDM_LISTEN ! 27: MENUITEM "Listen with &Threads", IDM_TLISTEN ! 28: MENUITEM "&Async Listen - (WSA extensions)", IDM_ALISTEN ! 29: MENUITEM "&Cancel async listen", IDM_CANCEL, GRAYED ! 30: MENUITEM SEPARATOR ! 31: MENUITEM "Send a message", IDM_SENDTCP, GRAYED ! 32: END ! 33: POPUP "&Help" ! 34: BEGIN ! 35: MENUITEM "&About Windows Sockets...", IDM_ABOUT ! 36: END ! 37: ! 38: END ! 39:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.