SunQuest
           Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 8th, 2001, 06:05 PM
dhruv dhruv is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: canada
Posts: 0 dhruv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy mutli-thread socket connection

Hi!

Just wondering if it is possible to create multi-thread socket (HTTP) connections using JAVA or C or any other language.

Suppose i need to retrieve multiple stock prices for the symbols ABC, CSCO, JDS...etc. I can do this by making an HTTP socket connection to NASDAQ's or TSE's website (doesn't matter which website i connect to). Anyways, i can retrieve the HTML off the site and parse out the current stock price for CSCO. Once i have CSCO's price, i make another HTTP socket connection to retrieve the price for JDS, and so on i continue to retrieve all the prices i need one by one. Obviously this takes an extremely long time.


So is it possible to retrieve all the stock prices i need, all at the same time by simultaneously making multiple socket connections? If so, how? what should i use? If not on Java, are you aware of any other applications/programming languages that would allow me make multiple socket connections?

I'm currently using APACHE 1.3.x with PHP and javaservlets on redhat linux.

Your prompt response would be greatly appreciated.

thanks

dhruv

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > mutli-thread socket connection


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway