Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 10th, 2006, 8:59 PM   #1
shock
Newbie
 
Join Date: Oct 2005
Posts: 3
Rep Power: 0 shock is on a distinguished road
windows sockets 2/VS2005

Hey, I am interested in any winsock2 or networking coding books or tutorials for C++, basically something with a code sample and any book/book suggestions on visual C++ 2005

note: i plan on coding in vc++ .net 2005

thx for your help
shock is offline   Reply With Quote
Old Jan 10th, 2006, 9:32 PM   #2
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
http://msdn.microsoft.com/library/de...ock/send_2.asp

This should explain to you in visual C++ code 2005 i believe, not sure if its .net or not. Enjoy.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Jan 10th, 2006, 9:59 PM   #3
shock
Newbie
 
Join Date: Oct 2005
Posts: 3
Rep Power: 0 shock is on a distinguished road
i already read all that i was just looking for something a little more in-depth in how to actually implement a few of those things so i can get the hang of it
shock is offline   Reply With Quote
Old Jan 11th, 2006, 8:54 AM   #4
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
I think reading a general tutorial like beej's tutorial should help.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Jan 12th, 2006, 3:51 PM   #5
shock
Newbie
 
Join Date: Oct 2005
Posts: 3
Rep Power: 0 shock is on a distinguished road
ok last question(Visual Studio 2005 question), in http://beej.us/guide/bgnet/output/ht...o.html#windows where it says

"You also have to tell your compiler to link in the Winsock library, usually called wsock32.lib or winsock32.lib or somesuch. Under VC++, this can be done through the Project menu, under Settings.... Click the Link tab, and look for the box titled "Object/library modules". Add "wsock32.lib" to that list."

i am wondering where you add the winsock library to, in this case i am using WS2_32.lib and i am not really sure where to link it, i have it here:

http://img57.imageshack.us/my.php?image=vsq17xz.jpg

thx!
shock is offline   Reply With Quote
Old Jan 12th, 2006, 4:02 PM   #6
nindoja
Programmer
 
Join Date: Jun 2005
Posts: 92
Rep Power: 4 nindoja is on a distinguished road
I've always used
#pragma comment(lib, "WS2_32.lib")
after my defines and includes.
nindoja is offline   Reply With Quote
Old Jan 12th, 2006, 4:11 PM   #7
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
I just add it in my solution/file explorer under 'resource files'.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:38 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC