Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 02-19-09   #1 (permalink)
PC Gamer
 
intel nvidia

Join Date: Dec 2008
Location: UK
Posts: 233

Rep: 19 Royaltramp Unknown
Unique Rep: 19
Trader Rating: 0
Default Networked Applications (e.g. Instant messaging)

I've written various programs in different languages, and have enough knowledge to easily learn anything further I need to know in: Java, Python, C++, VB6, VB.NET, C# and possibly Delphi. (I have never written in Delphi directly but I used to write scripts in a program whose language was based on Delphi). However, I've only ever written networked/socket based applications in VB6 before (client/server, messaging, etc), but that's due to the simplicity of the language and Winsock.

Now one of the things I've been interested in recently is networked or socket based applications. I have a basic text IRC client set up in Java, but that was written for me by a friend so I could see how little code was necessary for something like that.

My language of choice would probably be C++ or C. I have the least experience in those out of any language I've ever used, but I feel they're not much different from each other, or from other languages I've learnt, and it's worth it for the smaller compiled applications and less use of resources :P

So anyway, here's a few questions to make it easier to reply to the topic:

1) Can this be done without any additional software? I know with VB if you don't want to use Winsock you're forced to download new API functions that'll be automatically added to your application.
2) To anyone that has worked with sockets in C++ or C, what tips would you give, and where would you say would be the best place to learn from? (I'm not asking for source code here unless it's something basic, I prefer to learn through experience.)
3) Would it be easier to accomplish this in another language? (If so, what language would you recommend)
4) How would I go about accessing and writing to a MySQL database with C++ or C?

Thanks tons in advance.

-Matt
__________________

System: "The Oven"
CPU
E6550 @ 3.0GHz
Motherboard
Asus P5N-E SLI Socket 775
Memory
4GB DDR2 800MHz Corsair XMS2 C4DHX (4-4-4-12)
Graphics Card
1GB Inno3D GTX280
Hard Drive
1.5TB SATA 7200RPM, 250GB SATA 7200RPM
Sound Card
Onboard Realtek 5.1
Power Supply
Hi-Power Black 700W
Case
Casecom Black
CPU cooling
Stock
OS
Windows Vista Home Premium 32bit
Monitor
Acer AL1916W @ 1440x900
Royaltramp is offline   Reply With Quote
Old 02-19-09   #2 (permalink)
Case Modder
 
Spotswood's Avatar
 
Join Date: Jul 2008
Location: New Hampshire, USA
Posts: 236

Rep: 46 Spotswood is acknowledged by some
Unique Rep: 39
Trader Rating: 0
Default

If it was me, I'd use C#. Otherwise, for C++/C checkout the Winsock Programmer's FAQ.
__________________
Rich
Custom Wooden Case Builder
Overclock.net Mod of the Month
Spotswood is offline   Reply With Quote
Old 02-22-09   #3 (permalink)
Programmer
 
Grandlo's Avatar
 
intel nvidia

Join Date: Jan 2009
Location: California
Posts: 296

Rep: 41 Grandlo is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

"windows socket programming", it's an old book but was defacto standard socket reference for windows. everything it says is still relivant and it's well written.

http://www.amazon.com/Windows-Socket...5294935&sr=8-2
__________________
System: Time Waste
CPU
Q9550 @4.0 1.38V, 1.33VTT
Motherboard
Lanparty DK P35-T2RS
Memory
4gb DDR2 1066
Graphics Card
GTX 260 core 216 (55nm)
Hard Drive
Segate 640gb 7200/32m
Power Supply
PC P&C Silencer 750
Case
Armor
CPU cooling
Apogee GTZ
GPU cooling
MCW60
OS
XP Pro 32bit
Monitor
Acer 22LCD
Grandlo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 12:17 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.10397 seconds with 8 queries