Asynchronous data parsing sockets server, server will act as a client to a server source and allowed incoming connection.
Communication Example: 1) Server will connect permanently as a client to a Main Source Server. 2) One client connection will connect to the Server with a permanent connection.3) Main Source Server will send data to the Server.4) Server will parse incoming pipe data string and convert to tab delimited data and send it to the client.5) Client will send response to server.6) Server will parse and send it to Main Source Server.
Requisites:1) Using latest Microsoft .Net Core 2.2) Pure asynchronous data connection.3) Initializationa) Server will act as a client, connect to a server.b) Server will wait for incoming connection.4) Initialization Filea) Only allow incoming client connection.b) Only allow to a Main Source Server connection.5) Reconnect: Server must be able to reconnect to Main Source Server if (1) a test data is sent and no response is get or (2) connection is idle.6) Screen Loga) Main Source Server - (1) Incoming (2) Outgoing Number of messages b) Client - (1) Incoming (2) Outgoing Number of messages 7) Logging - Daily File with Timestamp rolling every 30 days:a) Client Connection - (1) Incoming (2) Outgoingb) Server - (1) Before Parsing (2) After Parsingc) Main Source Server - (1) Incoming (2) Outgoingd) Other: (1) Reconnect (2) Errors8) Allowed Librariesa) NLog (https://nlog-project.org/)b) Microsoft .Net Core 2c) DotNetty (https://github.com/Azure/DotNetty)9) Code must be heavily commented.
Copyright © 2019 | Truelancer.com