| | |
Socket
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
•
•
Join Date: Aug 2004
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by mpkhadloya
hi,
How socket programming is done in c++ for window?
how to use port in c++?
* http://alexvn.freeservers.com/s1/sock.html
* http://sourceforge.net/projects/cpp-sockets/
•
•
Join Date: Sep 2004
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by mpkhadloya
hi,
How socket programming is done in c++ for window?
how to use port in c++?
u have to include ws2_32.lib and <winsock2.h>
or in linux, bsd sockets...
if u want it in c++, write a generic class and in the methods, u wrap all winsoc apis like socket()-> use as a constructor and all others as member functions..thatzall dude....
![]() |
Similar Threads
- hp socket 370 motherboards (Motherboards, CPUs and RAM)
- Socket programming + porting Unix to Win32 (C)
- Linking errors of socket functions (C)
- AMD socket 754 and 939 processors (Motherboards, CPUs and RAM)
- IE TCP/IP Socket Issue? (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: compare
- Next Thread: problem reading text file to struct
Views: 5791 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char class classes code coding compile compiler console conversion convert count data database delete developer display dll email encryption error file forms fstream function functions game generator getline givemetehcodez graph homeworkhelper iamthwee ifstream image input int integer java lazy lib loop looping loops map math matrix memory multidimensional multiple newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






