![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Posts: 3
Rep Power: 0
![]() |
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 ![]() |
|
|
|
|
|
#2 | |
|
Professional Programmer
|
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:
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! ▄▄▄▄ |
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2005
Posts: 3
Rep Power: 0
![]() |
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
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
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 |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Oct 2005
Posts: 3
Rep Power: 0
![]() |
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! |
|
|
|
|
|
#6 |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
I've always used
#pragma comment(lib, "WS2_32.lib") |
|
|
|
|
|
#7 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|