|
-
Jul 29th, 2002, 08:40 AM
#1
Thread Starter
Addicted Member
array of socket
socket s[10]; gives error.
Why?
-
Jul 29th, 2002, 09:38 AM
#2
Lively Member
The word socket should be in capital letters SOCKET, I think.
Try it and let me know if it works.
IJ...
-
Jul 29th, 2002, 09:39 AM
#3
Lively Member
Also are you including the winsock.h header file...??
IJ...
-
Jul 29th, 2002, 02:25 PM
#4
Frenzied Member
Just thought I would give you some advice that I have found over the past week or so working with sockets. I dont know what your program is, but juding by the fact you want an array of sockets, you are planing to have multiple users/connections connected at one time. You may want to think about using linked lists, instead of arrays, because it will allow you to grow or srink your connection list eaiser.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|