Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
SockConnector.h
Package: vxwork_src.rar [view]
Upload User: nvosite88
Upload Date: 2007-01-17
Package Size: 4983k
Code Size: 1k
Category:
VxWorks
Development Platform:
C/C++
- /* SockConnector */
- /* Copyright (c) 1999 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01a,05jun99,aim created
- */
- #ifndef __INCSockConnector_h
- #define __INCSockConnector_h
- #include "ReactorTypes.h"
- #include "SockStream.h"
- #include <iostream>
- class SockConnector
- {
- public:
- virtual ~SockConnector ();
- SockConnector ();
- SockConnector (SockStream& stream,
- const SockAddr& sockAddr,
- int reuseAddr = 0,
- int protocolFamily = PF_INET,
- int protocol = 0);
- int connect (SockStream& stream,
- const SockAddr& sockAddr,
- int reuseAddr = 0,
- int protocolFamily = PF_INET,
- int protocol = 0);
- // Meta-type info for Connector template
- typedef INETSockAddr PEER_ADDR;
- typedef SockStream PEER_STREAM;
- friend ostream& operator<< (ostream& os, const SockConnector&);
- };
- #endif // __INCSockConnector_h