7 Replies - 3462 Views - Last Post: 29 July 2006 - 05:00 AM Rate Topic: -----

#1 dejabu18   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 03-March 06

network programming

Posted 17 July 2006 - 06:59 AM

hi guys do you know where I can find good tutorials for network programming for windows or can you tell me the name of a good book

thanks
Is This A Good Question/Topic? 0
  • +

Replies To: network programming

#2 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 250
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: network programming

Posted 17 July 2006 - 07:52 AM

http://www.sockets.com/
http://www.lowtek.com/sockets/

are a few good starting places...but there are tons of resources on the net, or through books such as
http://www.amazon.co...9...ce&n=283155

or
http://www.amazon.co...2...ce&n=283155
Was This Post Helpful? 0
  • +
  • -

#3 born2c0de   User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 187
  • View blog
  • Posts: 4,673
  • Joined: 26-November 04

Re: network programming

Posted 17 July 2006 - 09:24 AM

C++ Network Programming Volume 1 and Volume 2
-Addison Wesly
Was This Post Helpful? 0
  • +
  • -

#4 dejabu18   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 03-March 06

Re: network programming

Posted 19 July 2006 - 08:54 AM

thanks guys but what you think about the tutorials they are not very clare with the examples end why microsoft say there its more easy programming in network with c++ .net

thanks
Was This Post Helpful? 0
  • +
  • -

#5 Mrafcho001   User is offline

  • D.I.C Addict
  • member icon

Reputation: 41
  • View blog
  • Posts: 769
  • Joined: 01-November 05

Re: network programming

Posted 19 July 2006 - 11:42 AM

everything in .NET is easier, but it strips away a lot of the lowlevel power you might need. And it also runs on the .NET framework so its slower than the equivalent C++ code.

If you are looking for an easy way into windows programming i'd recommend C#. Its almost like C++ just a few things are different here and there. Everything is wrapped up in classes so it makes it a bit nicer and cleaner than C++, and it also has garbage collection which means you dont have to worry abut memory leaks anymore.

but Network programming can be messy in C++ if you are looking to download files of the internet or just simple interactions with the internet check these out:
WinInet - http://msdn.microsof...t_functions.asp

URL Monikers -
http://msdn.microsof...tions_entry.asp
(you dont need to specify the LPIUNKOWN objects for example:
URLDownloadToFile(
NULL,
LPCTSTR szURL, //the url of the file you want to download
LPCTSTR szFileName, //where to download it.
0,
NULL
);
Was This Post Helpful? 0
  • +
  • -

#6 outlaw   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 04-June 06

Re: network programming

Post icon  Posted 22 July 2006 - 09:54 AM

iv got just the rite link for a beginer,coz some time back like u even i use to ask for help on networking on windows box.

Beej's Guide to Network Programming Using Internet Sockets

http://beej.us/guide...ngle/bgnet.html

it got everythng u need, just make sure u read it properly.
read RFC(Request for comments ) too

in case u need more help , let me know.il help , coz even im learning the same stuff :)
Was This Post Helpful? 0
  • +
  • -

#7 msg555   User is offline

  • D.I.C Head
  • member icon

Reputation: 9
  • View blog
  • Posts: 136
  • Joined: 04-May 06

Re: network programming

Posted 22 July 2006 - 07:55 PM

Well... I'm hesitant to push my own code on you, but you could use my zSocket class.

zSocket is a message based TCP socket class based of the winsock api. It has come in handy for me many a time.

Download
http://msg555.sytes....C++/zsocket.zip

Documentation (The documentation was generated for my zHttp Server system which isn't full release yet but zSocket is completly independent of said system)
http://msg555.sytes....ssz_socket.html

Use at your own risk, yada yada yada...

This post has been edited by msg555: 22 July 2006 - 07:57 PM

Was This Post Helpful? 0
  • +
  • -

#8 dejabu18   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 03-March 06

Re: network programming

Posted 29 July 2006 - 05:00 AM

ok the Beej's Guide to Network Programming Using Internet Sockets its good but when I tray to test his example code I have a lot of errors in my program, I think its becouse the code its for linux gcc compilers and Im using the devc++ in windows
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1