Changing router to application port exchange protocol.

The application process needs to request the port from the router instead of the
latter pushing the port before sending a request to the application.  This is
required to simplify the communication between the router and the application
and to prepare the router to use the application shared port and then the queue.
This commit is contained in:
Max Romanov
2020-08-11 19:20:10 +03:00
parent bf647588ff
commit 3cbc22a6dc
7 changed files with 342 additions and 97 deletions

View File

@@ -19,6 +19,7 @@
enum {
NXT_UNIT_OK = 0,
NXT_UNIT_ERROR = 1,
NXT_UNIT_AGAIN = 2,
};
enum {