source: trunk/CrypPlugins/KeySearcher/Server/Opcodes.cs @ 2417

Last change on this file since 2417 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: 259 bytes
Line 
1using System;
2using System.Text;
3using System.Net.Sockets;
4using System.Threading;
5using System.Net;
6
7enum ClientOpcodes
8{
9    HELLO = 0,
10    JOB_RESULT = 1,
11    JOB_REQUEST = 2
12}
13
14enum ServerOpcodes
15{
16    NEW_JOB = 0,
17    WRONG_PASSWORD = 1,
18}
19
Note: See TracBrowser for help on using the repository browser.