| | |
Please help!!! Winsock2/Sockets with C++ Console app?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2008
Posts: 36
Reputation:
Solved Threads: 0
Hello. I have been learning C++ for a while now. I know how to create C++ Console applications, and im wondering if theres any good tutorials on using Sockets/Winsock2 in C++ Console apps.
Please don't say I should learn Windows API, or MFC, I already know about those, and I will eventually get to WinAPI. But most of the tutorials I find on the internet either use Visual Basic, or Windows API/MFC with sockets.
If the Beej's sockets tutorial (Uses unix) using the extra windows thing it says in the tutorial will work with C++ Console apps, please tell me... Thanks!
P.S Can you try and tell me about Winsock2 instead of just Winsock, I've heard Winsock2 is better and more advanced.
Please don't say I should learn Windows API, or MFC, I already know about those, and I will eventually get to WinAPI. But most of the tutorials I find on the internet either use Visual Basic, or Windows API/MFC with sockets.
If the Beej's sockets tutorial (Uses unix) using the extra windows thing it says in the tutorial will work with C++ Console apps, please tell me... Thanks!
P.S Can you try and tell me about Winsock2 instead of just Winsock, I've heard Winsock2 is better and more advanced.
Last edited by Ancient Dragon; Dec 6th, 2008 at 7:28 am. Reason: removed bold and color tags
Oh gee golly moses. This was the first in the list of google links
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
winsock IS part of win32 api. If you are looking for more complex client/server console code then you can find it by downloading the library here
>>No Windows API is different. Console applications are the DOS window.
You don't have to write a windows program to implement some win32 api functions.
>>No Windows API is different. Console applications are the DOS window.
You don't have to write a windows program to implement some win32 api functions.
Last edited by Ancient Dragon; Dec 6th, 2008 at 3:23 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Other Threads in the C++ Forum
- Previous Thread: Please Help: getting a runtime error
- Next Thread: pleeeze help me I have been tired:(
| Thread Tools | Search this Thread |
api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data database delete desktop developer directshow dll download dynamic encryption error file forms fstream function functions game generator getline givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number output parameter pointer problem program programming project proxy python random read recursion recursive return string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






