00001 #ifndef __J2K__UDP_SocketClient_HPP__ 00002 #define __J2K__UDP_SocketClient_HPP__ 00003 00004 #include <j2k/Net/UDP/UDP_Socket.hpp> 00005 00006 class UDP_SocketClient : public UDP_Socket 00007 { 00008 public: 00009 00010 inline UDP_SocketClient( char* srvNameAddress, short TFTP_Port ); 00011 inline virtual ~UDP_SocketClient(); 00012 inline virtual BOOL send( void* msg, size_t msgLen ); 00013 00014 private: 00015 static void* ListenThread( void* data ); 00016 00017 struct sockaddr_in dest; 00018 }; 00019 00020 00021 #endif 00022 00023