00001 #ifndef _dessocket_h 00002 #define _dessocket_h 00003 00004 #ifdef _WIN32 00005 #include <spl/configwin32.h> 00006 #endif 00007 00008 #include <spl/des.h> 00009 #include <spl/net/csocket.h> 00010 00011 //typedef struct _dessocket 00012 //{ 00013 // csocket *sock; 00014 // des_ctx ctx; 00015 //} dessocket; 00016 // 00017 //dessocket *dessocketConstruct ( const int port, char *password ); 00018 //void dessocketDestruct( dessocket *sock ); 00019 //bool dessocketSend ( dessocket *sock, const byte *data, const int len); 00020 //int dessocketRecv ( dessocket *sock, byte *buf, const int blen); 00021 00022 #endif 00023