Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Deprecated/UDP.Unix/UnixSocketSender.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__Unix_Socket_Sender_HPP__
00002 #define __J2K__Unix_Socket_Sender_HPP__
00003 
00004 #include "UnixSocket.hpp"
00005 
00006 class UnixSocketSender {
00007 
00008 public:
00009 
00010    UnixSocketSender( char*  SendMsg_Host,
00011                      short  SendMsg_Port );
00012 
00013   ~UnixSocketSender();
00014 
00015    bool SendMsg( char* msg, size_t msgLen );
00016 
00017    inline void setSocket( SOCKET fdSocketNo );
00018 
00019 private:
00020 
00021    void getHostData( char* SendMsg_Host );
00022 
00023    SOCKET   ListenSocket;     // The socket that we're listening for connections on
00024    hostent* hostdata;
00025    struct sockaddr_in dest;
00026 };
00027 
00028 #endif

Generated on Sun Oct 14 18:46:30 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001