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/UnixSocketReceiver.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__Unix_Socket_Receiver_HPP__
00002 #define __J2K__Unix_Socket_Receiver_HPP__
00003 
00004 #include "UnixSocket.hpp"
00005 
00006 class UnixSocketReceiver {
00007 
00008 public:
00009 
00010    UnixSocketReceiver( short Listen_Port );
00011   ~UnixSocketReceiver();
00012 
00013    bool   Listen();
00014 
00015    inline SOCKET getSocket();
00016 
00017 private:
00018    static void* ListenThread(void* data);
00019 
00020    SOCKET ListenSocket;        // The socket that we're listening for connections on
00021 
00022    struct sockaddr_in srv;     // The address that the server is listening on
00023    struct sockaddr_in client;  // The address that the last message was received from
00024 };
00025 
00026 #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