fixed to work again without --hosts argument
git-svn-id: svn://anubis/fart/trunk@227 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
33f554d714
commit
68450b8c4d
@ -17,6 +17,9 @@ distrib::distrib()
|
||||
{
|
||||
pthread_cond_init(&m_listen_cond, NULL);
|
||||
pthread_mutex_init(&m_listen_mutex, NULL);
|
||||
m_num_clients = 0;
|
||||
m_data = NULL;
|
||||
m_server = true;
|
||||
}
|
||||
|
||||
int distrib::readHostFile(const char * filename)
|
||||
@ -198,10 +201,12 @@ int distrib::startClient(const char * server, int port)
|
||||
|
||||
int distrib::send_data(int task, unsigned char * data, int num_bytes)
|
||||
{
|
||||
/* TODO: finish */
|
||||
}
|
||||
|
||||
int distrib::getTask()
|
||||
{
|
||||
/* TODO: finish */
|
||||
if (m_server)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user