|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Socket programming in VC++ 2005
I recently downloaded the VC++ 2005 Beta 2 from MS. I haden't worked with it before, so this morning I set out to create a simple network app to check if my server is up and accessible from the outside world. (And yes, I'll give it to a friend, where he'll set it up as a scheduled task.) I could have finished it by now in VS.NET 2003, but it appears that sockets are somewhat different in 2005. I'm unable to find the proper header/library to use. Winsock as a direct library doesn't appear to exist anymore and I couldn't seem to find a non-.NET way of doing it.
Do you know how to create a socket in 2005? All it has to do is check if it can connect to a certain server on port 80, if that makes a difference. (but if you happen to know how to use the .NET version, I might have to.)I'm stubborn, so don't even suggest I just use 2003. ![]() |
|
#2
|
|||||
|
|||||
|
Re: Socket programming in VC++ 2005
I haven't actually worked with it, but check this page out...
http://msdn2.microsoft.com/library/1...us,vs.80).aspx BTW, if you didn't know this already, http://msdn2.microsoft.com is all of the documentation for VS2005...note that some parts are still incomplete, since it is still in beta... |
|
#3
|
||||
|
||||
|
Re: Socket programming in VC++ 2005
Quote:
Now... how exactly do you include that in your C++ program? The System.[etc] syntax is used directly in C#, but in C++...? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming - Getting Started | Mark McLeod | Programming | 80 | 16-04-2008 23:37 |
| 2005 Beantown Blitz Registration Notice | Erin Rapacki | Off-Season Events | 9 | 30-04-2005 14:04 |
| 2005 St. Louis Regional | Andrew | Regional Competitions | 6 | 14-03-2005 10:17 |
| What should I put on my programming jump drive? | IMDWalrus | Programming | 10 | 15-01-2005 13:37 |