home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / wsock / wsock.rc < prev    next >
Text File  |  1997-10-05  |  1KB  |  41 lines

  1.  
  2. //-----------------------------------------------------------------------------
  3. // This is a part of the Microsoft Source Code Samples. 
  4. // Copyright (C) 1993-1997 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 "Connect and &Send", IDM_CONNECTANDSEND
  26.         MENUITEM SEPARATOR
  27.         MENUITEM "&Listen (blocking)", IDM_LISTEN
  28.         MENUITEM "Listen with &Threads", IDM_TLISTEN
  29.         MENUITEM "&Async Listen - (WSA extensions)", IDM_ALISTEN
  30.         MENUITEM "&Cancel async listen", IDM_CANCEL, GRAYED
  31.         MENUITEM "Accept&Ex", IDM_ACCEPTEX
  32.         MENUITEM SEPARATOR
  33.         MENUITEM "Send a message", IDM_SENDTCP, GRAYED
  34.     END
  35.     POPUP        "&Help"
  36.     BEGIN
  37.         MENUITEM "&About Windows Sockets...", IDM_ABOUT
  38.     END
  39.  
  40. END
  41.