[Simple & Easy way] How to Connect Multiple clients to single Server using C#

Sdílet
Vložit
  • čas přidán 26. 05. 2017
  • How to Connect Multiple Clients to Server Using C#.
    Please Share this Video:
    • [Simple & Easy way] Ho...
    Client chat window application:
    • Multiple clients chat ...

Komentáře • 46

  • @christophfischer7890
    @christophfischer7890 Před 6 lety +1

    This was exactly what i need to threading my existing serverapplication. I have to thank you :)

  • @Aagaazjigamer
    @Aagaazjigamer Před 6 lety +1

    Well described . Helped a lot

  • @mohsenzahraei5121
    @mohsenzahraei5121 Před 6 lety

    thank you. that's so helpful.

  • @naznor1165
    @naznor1165 Před 5 lety

    Hello Sir may I ask your help? I have the following situation 3 pieces of ESP8266-12E. (MCU Node) one of them is a server and 2 are clients .. building a server form node MCU is mission impossible for me using Arduino C...can you help me ..I am stuck with this task for over 2 months with no progress at all thanks in advance

  • @dampish8403
    @dampish8403 Před 2 lety

    absolute legend

  • @robxlift
    @robxlift Před 3 lety

    To make a chat app via internet as a windoes application C# what should I do ??
    i have 2 application work local as server and client , i need make sever form on pc , and client form on another pc what should i do , i only know tcp / ip

  • @guillaume8437
    @guillaume8437 Před 3 lety

    Hello,
    Thank you for this clear video. Nevertheless, if I want to receive messages from client_1 with port 13000 and from client_2 with port 13001, how can I do?

  • @thietkevoisolidworks8702

    Thank you for sharing this video. Can I want to used this app to connect Lan game(Warcraft 3) play multiplayer. Can I?

  • @ASDDSA-nu7qj
    @ASDDSA-nu7qj Před rokem

    thank you bro .
    ı love thread :D

  • @nukhbaarshad3927
    @nukhbaarshad3927 Před 6 lety +2

    Amazing tutorial thank you. But I want to know how to Send/recieve messeges from one client to other?

    • @exceptionhack
      @exceptionhack  Před 6 lety +3

      There may be many ways to do it and one way is every client must have unique value for ex. email or any ID. In server side store the client socket and client ID or Email for every client in dictionary. Now suppose client A sends message to client B then sever will fetch the client B socket from dictionary and client B socket will be used to send the message. Its hard to explain . If you still have some doubt feel free to comment.

  • @saikumarsv7430
    @saikumarsv7430 Před 6 lety

    unless receiving the response from server for the sent message, client is unable to send the new mesage. How can we do it.

    • @exceptionhack
      @exceptionhack  Před 5 lety

      you have to use delegations for that. Whenever you will get new message your delegation will help to see that without disturbing you.

  • @havoc987
    @havoc987 Před 5 lety +6

    1:57 lol

  • @fun_world_fragrance
    @fun_world_fragrance Před 4 lety

    in my case Server is getting listen but at Client side It is giving me exception as "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 196.168.4.106:13000" ...how to deal with it please assist me. Thanks in advance.

    • @sandeepchahal6454
      @sandeepchahal6454 Před 4 lety

      I am not sure what is the problem but remember to start server listening first. Moreover, both client and server should be connected to same Port and IP address. I hope this will help you.

  • @nadeemaamir8811
    @nadeemaamir8811 Před 5 lety

    Could you please share the code...

  • @bulletl187
    @bulletl187 Před 6 lety +4

    Thanks friendly Indian guy!

  • @TheBausahab
    @TheBausahab Před 4 lety

    how to contact you! regarding make it really really big... I am very eager Sandeep sir.

  • @noor-e-baseerat7535
    @noor-e-baseerat7535 Před 5 lety

    I need help any one plz

  • @harikrish777
    @harikrish777 Před 6 lety

    It doesn't recognize client command in the Socket client

    • @exceptionhack
      @exceptionhack  Před 6 lety

      Sorry I am not getting your problem. Please describe it properly

  • @FazalullhaqShaikh
    @FazalullhaqShaikh Před 5 lety

    Hi, I want to buy this software, please reply ASAP

    • @exceptionhack
      @exceptionhack  Před 5 lety

      I will share the code. Its just simple coding. Please share your email address

  • @nazishriaz67
    @nazishriaz67 Před 4 lety

    Can you tell me my clients are only connected but not passing the sms on other

    • @exceptionhack
      @exceptionhack  Před 3 lety

      You have to store every client socket that is connected to server and to the message to a client use particular socket from the List. I hope this clarify your doubt.

  • @NatureNomad13
    @NatureNomad13 Před rokem

    Can we send message from one client to another..and how can we do that

  • @digitalworld7507
    @digitalworld7507 Před 3 lety +1

    Useless code, how to transfer messages from server to connected clients.

  • @nealdorelis5703
    @nealdorelis5703 Před rokem

    Nice ! Can you connect this short client/server application with database ?

    • @NatureNomad13
      @NatureNomad13 Před rokem

      Can we send message to client 2 from client 1 through server

    • @sandeepchahal6454
      @sandeepchahal6454 Před rokem

      czcams.com/video/hRzMfyW2NLY/video.html&feature=share8

  • @sunilkumareshwarappa1195

    how to chat one client to other client

  • @johndenvercmacavinta979

    Can you make tutorial of that in Windows Form Application? That server can choose who he wants to reply with. Thankyou your video is awesome

    • @exceptionhack
      @exceptionhack  Před 6 lety

      John Denver Macavinta i have it and will upload it ASAP

    • @exceptionhack
      @exceptionhack  Před 4 lety

      czcams.com/video/hRzMfyW2NLY/video.html

  • @gutofuul
    @gutofuul Před 3 lety

    Tu é o mais pica papai Salvou.

  • @exceptionhack
    @exceptionhack  Před 4 lety

    If you want to see chat window application, please click on the link below:
    czcams.com/video/hRzMfyW2NLY/video.html

  • @waleedfarrukh5590
    @waleedfarrukh5590 Před 5 lety +1

    code?