#include <StdoutLog.h>
#include <ListenSocket.h>
#include "Socks4Handler.h"
#include "Socks4Socket.h"
Include dependency graph for socks4.cpp:
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
|
File ......... socks4.cpp Published .... 2005-03-23 Author ....... grymse@alhem.net Definition at line 29 of file socks4.cpp. 00030 { 00031 StdoutLog log; 00032 Socks4Handler h(&log); 00033 ListenSocket<Socks4Socket> l(h); 00034 if (l.Bind(1080) == -1) 00035 { 00036 exit(-1); 00037 } 00038 h.Add(&l); 00039 h.Select(1,0); 00040 while (h.GetCount()) 00041 { 00042 h.Select(1,0); 00043 } 00044 }
|