Results 1 to 2 of 2

Thread: Sockets (urgent)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145

    Sockets (urgent)

    Hi all,
    I'm quite new in C# and have no expirience in sockets.
    I have to write any server component very urgent...
    The component has to synchronize between 3 clients for perpetual work of one of them.

    My app works with several clients, says C1, C2, C3.
    I know IP and Port of each client. Every time should be only one working client. On the start my program has to send to C1 any parameters. If it succeeded the program sleeps all the time C1 works. If C1 failed down (the program or whole computer) my app has to catch it and try to connect to C2.
    If working any client except C1 my app has to try if possible to connect to C1 and if yes, disconnect from C2 or C3 and connect to C1.

    Any samples of code will be very helpful.

    Thanks a lot,

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Sockets (urgent)

    Take a look at this.

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