Click here to Skip to main content
Click here to Skip to main content

Feed Relay Server

, 26 Sep 2006 CPOL
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

Clients

Disconnected Server

 

Introduction

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 sandeepan.kundu@gmail.com/+919910414559.

License

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

Share

About the Author

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

Comments and Discussions

 
GeneralFeed from NSE and BSE Pinmemberpkgvrpdm22-Nov-07 23:57 
GeneralRe: Feed from NSE and BSE PinmemberSandeepan9-Mar-08 21:19 
GeneralRe: Feed from NSE and BSE Pinmembermgjanardhanan27-Oct-09 19: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
Web01 | 2.8.141223.1 | Last Updated 26 Sep 2006
Article Copyright 2006 by Sandeepan
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid