Results 1 to 2 of 2

Thread: Winsock API Array

  1. #1

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274

    Winsock API Array

    Hello,
    I have to make a chat server using winsock api. But how can I handle a number of sockets using api? Its pretty easy using the winsock control using arrays, but the control is causing some other problems. It wont let me open a large number of ports (not more than 15 on my pc) and gives out error messages saying there is no buffer space.

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    just call more than one socket function, and store the return sockets in a dynamic array
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width