![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tdxhq
文章平均质量分 80
hintonic
这个作者很懒,什么都没留下…
展开
-
BidQuoteObserver
#pragma once #include "stock.h" #include map> #include deque> #include string> class BidQuoteObserver { public: BidQuoteObserver(); ~BidQuoteObserver(); int BidQuoteReceived( const StockBid::B原创 2017-10-27 15:55:09 · 257 阅读 · 0 评论 -
Channel
#ifndef _CHANNEL_H #define _CHANNEL_H #include string> #include map> #include "stock.h" #include "config.h" #include "net_func.h" using namespace std; class Channel { public: Chann原创 2017-10-27 15:55:42 · 831 阅读 · 0 评论 -
config
#ifndef _STOCK_CONFIG_H_ #define _STOCK_CONFIG_H_ typedef unsigned long ulong; typedef unsigned int uint; typedef unsigned short ushort; typedef unsigned char uchar; #endif #ifndef原创 2017-10-27 15:56:15 · 411 阅读 · 0 评论 -
NBSocket
#ifndef _NBSOCKET_H_ #define _NBSOCKET_H_ #include #includestring> #include"Channel.h" class NBSocket { public: NBSocket(); ~NBSocket(); int Connect( const char * sIP, short iPort, struct tim原创 2017-10-27 15:57:57 · 184 阅读 · 0 评论 -
net_func
#include #include #pragma once struct HQServerInfo { char szServer[32]; short iPort; int iCmdId; }; BOOL WinSockInit(); unsigned int __stdcall GetHQAvgCost( void * pInfo ); unsi原创 2017-10-27 15:58:39 · 276 阅读 · 0 评论 -
request
#ifndef _STOCK_REQUEST_H_ #define _STOCK_REQUEST_H_ #include deque> #include "config.h" #include "stock.h" #include "NBSocket.h" using namespace std; #pragma pack(push) #pragma pack(1) class原创 2017-10-27 15:59:13 · 408 阅读 · 0 评论 -
response
#ifndef _RESPONSE_H #define _RESPONSE_H #include set> #include map> #include "stock.h" #include "BidQuoteObserver.h" using namespace std; typedef setstring> StringSet; typedef map int, Strin原创 2017-10-27 15:59:49 · 328 阅读 · 0 评论 -
hqtest
#include "stdafx.h" #include "net_func.h" #include "request.h" #include #include vector> typedef unsigned int (_stdcall THREAD_START_ROUTINE)(void *); bool thread_spawn( THREAD_START_ROUTINE func原创 2017-10-27 16:00:14 · 459 阅读 · 0 评论