CFanatic

Go Back   CFanatic > Programming > C++ Programming

Join CFanatic Forum Now

C++ socket programming topic posted under C++ Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2006, 01:21 AM
Junior Member
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
DynamitMsk is on a distinguished road
| More
C++ socket programming

Hello,

I'm working on a stock trading assignment. I have developed the algorithm for trading, and now I need a little help on getting the data from a server.

There's a server that replies to the following request:
servername stockcost <stockname>

and I assume I can use it like:

int currentCost = servername stockcost <stockname>;

but I do need some way to connect to the server, so there should be some CPP libraries. Anyone can point me to places where I can get more info on working with a remote machine in CPP? thank you!!!
Reply With Quote
  #2  
Old 02-13-2008, 11:40 AM
Junior Member
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
interval is on a distinguished road
| More
Re: C++ socket programming

I know this post is over a year old but I wanted to add to this for anyone else looking for help on sockets.

Using sockets isn't really a c++ (or a c) problem, so asking for a c++ "library" for this is a little off base. What you're asking for is how to access the c runtime library APIs to use sockets. Since you asked this in a c++ forum here is a socket class wrapper:

http://www.pcs.cnu.edu/~dgame/socket...C++/Socket.cpp
Reply With Quote
  #3  
Old 01-21-2011, 11:14 PM
Junior Member
 
Join Date: Jan 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Lutera is on a distinguished road
| More
Re: C++ socket programming

thts gud can any 1 help me 4 socket progming beginng?????????
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help in Programming in C geetha Network Programming 4 06-11-2011 06:16 AM
programming languages carmitp Introduce yourself 1 07-27-2007 08:47 AM
Windows Programming using C++ HK Win32 Programming 1 06-05-2007 09:38 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:35 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board