Thread: Create many events

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    1

    Create many events

    Hi,

    I need to establish a communication connection in order to get data from 832 places.

    I wanted to ask, if it's possible to create 832 events in order to get data from each place?

    i'll write the program in C.

    thanks!

  2. #2
    Registered User
    Join Date
    Feb 2009
    Posts
    12

    Use UDP

    If I understood correctly, you need to receive/ send data from/ to several different machines.

    Use socket programming... UDP will surely work. I am not sure about number of simultaneous TCP connections, if it is more than 900, I think you can safely use that too.

  3. #3
    Ultraviolence Connoisseur
    Join Date
    Mar 2004
    Posts
    555
    Here surely the select() statement will come in handy, recommend reading Beej's Guide to Network programming:

    Beej's Guide to Network Programming

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can't create child windows
    By OnionKnight in forum Windows Programming
    Replies: 4
    Last Post: 04-10-2011, 04:13 PM
  2. Cannot create shared memory
    By Phoenix_Rebirth in forum C Programming
    Replies: 3
    Last Post: 11-07-2008, 11:32 AM
  3. Create new combo boxes based on items selected in preview combo box
    By RealityFusion in forum Windows Programming
    Replies: 2
    Last Post: 01-10-2007, 09:50 AM
  4. Create a file from c++ program
    By Dan17 in forum C++ Programming
    Replies: 2
    Last Post: 05-08-2006, 04:25 PM
  5. How to Create reference to an array in C++
    By shiv_tech_quest in forum C++ Programming
    Replies: 2
    Last Post: 12-20-2002, 10:01 AM