<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS-->
What the article/code snippet does, why it's useful, the problem it solves etc. This is a very simple relay server created using mere 4 sockets. Out of which 2 sockets is for listening to incoming request and for outgoing request respectively. I am using this relay server for my stock application get feed from NSE and BSE and crunch the data accordingly.
Using the code
The incoming and outgoing port number can be configured easily.
All client instance are controlled to execute for 5 minutes and close itself closing the connection.
Queries & Suggestion
Suggestions are welcomed at email@example.com/+919910414559.