source: trunk/CrypPlugins/KeySearcher/ExternalClient/Opcodes.h

Last change on this file was 2417, checked in by schwittmann, 11 years ago

Several ExternalClient improvements:

  • Separated connected and request job events
  • Added basic authentication
  • Lookup DNS again after getting disconnected
  • Fixed some socket exceptions
  • Prevent slow clients from submitting old jobs by using unique job identifiers
File size: 237 bytes
Line 
1#pragma once
2
3namespace ClientOpcodes
4{
5    enum 
6    {
7        HELLO = 0,
8        JOB_RESULT = 1,
9        JOB_REQUEST = 2,
10    };
11};
12
13namespace ServerOpcodes
14{
15    enum 
16    {
17        NEW_JOB = 0,
18        WRONG_PASSWORD = 1,
19    };
20};
21
Note: See TracBrowser for help on using the repository browser.