Click here to Skip to main content
15,891,184 members
Articles / Mobile Apps / Windows Mobile

Full Multi-thread Client/Server Socket Class with ThreadPool

Rate me:
Please Sign up or sign in to vote.
4.92/5 (115 votes)
27 Sep 2009Apache4 min read 851K   35.4K   413  
Complete Client/Server Socket Communication class with threadpool implementation. Easy to use and integrate into C++ application. Linux/UNIX port available.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by SocketServer.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDS_SOCKETS_INIT_FAILED         102
#define IDD_SOCKETSERVER_DIALOG         103
#define IDD_SOCKETCLIENT_DIALOG         104
#define IDR_MAINFRAME                   128
#define IDC_SVR_PORT                    1000
#define IDC_SVR_PORTINC                 1001
#define IDC_TCP                         1002
#define IDC_UDP                         1003
#define IDC_TXT_MESSAGE                 1004
#define IDC_BTN_SEND                    1005
#define IDC_BTN_START                   1006
#define IDC_BTN_STOP                    1007
#define IDC_MESSAGE_LIST                1008
#define IDC_IPADDRESS                   1009
#define IDC_IPV4                        1010
#define IDC_UDP2                        1011
#define IDC_IPV6                        1011

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1010
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


Written By
Software Developer (Senior)
United States United States
Ernest is a multi-discipline software engineer.
Skilled at software design and development for all Windows platforms.
-
MCSD (C#, .NET)
Interests: User Interface, GDI/GDI+, Scripting, Android, iOS, Windows Mobile.
Programming Skills: C/C++, C#, Java (Android), VB and ASP.NET.

I hope you will enjoy my contributions.

Comments and Discussions