Click here to Skip to main content
11,713,197 members (86,805 online)
Click here to Skip to main content

Feed Relay Server

, 26 Sep 2006 CPOL 16.6K 324 11
Rate this:
Please Sign up or sign in to vote.
Relay server made using winsock, load tester to test relay server with multiple clients
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS-->

Sample Image - ActiveRelayServer.png

Load Tester

Data Feeder


Disconnected Server



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.

// Const IncommingPortNumber = 9999 
// Const OutgoingPortNumber = 5555 

All client instance are controlled to execute for 5 minutes and close itself closing the connection.

Queries & Suggestion

Suggestions are welcomed at


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Technical Lead M.N.Dastur & Company Pvt Ltd.
India India
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralFeed from NSE and BSE Pin
pkgvrpdm22-Nov-07 22:57
memberpkgvrpdm22-Nov-07 22:57 
GeneralRe: Feed from NSE and BSE Pin
Sandeepan9-Mar-08 20:19
memberSandeepan9-Mar-08 20:19 
GeneralRe: Feed from NSE and BSE Pin
mgjanardhanan27-Oct-09 18:27
membermgjanardhanan27-Oct-09 18:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150819.1 | Last Updated 26 Sep 2006
Article Copyright 2006 by Sandeepan
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid