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

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 46

  • @christophfischer7890
    @christophfischer7890 7 лет назад +1

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

    • @exceptionhack
      @exceptionhack  7 лет назад +1

      My pleasure to help you :) thank you

  • @robxlift
    @robxlift 3 года назад

    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

  • @exceptionhack
    @exceptionhack  5 лет назад

    If you want to see chat window application, please click on the link below:
    ruclips.net/video/hRzMfyW2NLY/видео.html

  • @NatureNomad13
    @NatureNomad13 Год назад

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

    • @sandeepchahal6454
      @sandeepchahal6454 Год назад

      ruclips.net/video/hRzMfyW2NLY/видео.html&feature=share8

  • @Aagaazjigamer
    @Aagaazjigamer 7 лет назад +1

    Well described . Helped a lot

  • @fun_world_fragrance
    @fun_world_fragrance 5 лет назад

    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 5 лет назад

      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.

  • @naznor1165
    @naznor1165 6 лет назад

    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 2 года назад

    absolute legend

  • @digitalworld7507
    @digitalworld7507 3 года назад +1

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

  • @bulletl187
    @bulletl187 6 лет назад +4

    Thanks friendly Indian guy!

  • @thietkevoisolidworks8702
    @thietkevoisolidworks8702 3 года назад

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

  • @nealdorelis5703
    @nealdorelis5703 2 года назад

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

    • @NatureNomad13
      @NatureNomad13 Год назад

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

    • @sandeepchahal6454
      @sandeepchahal6454 Год назад

      ruclips.net/video/hRzMfyW2NLY/видео.html&feature=share8

  • @havoc987
    @havoc987 5 лет назад +6

    1:57 lol

  • @saikumarsv7430
    @saikumarsv7430 6 лет назад

    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  6 лет назад

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

  • @nukhbaarshad3927
    @nukhbaarshad3927 7 лет назад +2

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

    • @exceptionhack
      @exceptionhack  7 лет назад +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.

  • @ASDDSA-nu7qj
    @ASDDSA-nu7qj 2 года назад

    thank you bro .
    ı love thread :D

  • @nazishriaz67
    @nazishriaz67 5 лет назад

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

    • @exceptionhack
      @exceptionhack  4 года назад

      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.

  • @guillaume8437
    @guillaume8437 4 года назад

    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?

  • @mohsenzahraei5121
    @mohsenzahraei5121 6 лет назад

    thank you. that's so helpful.

  • @harikrish777
    @harikrish777 7 лет назад

    It doesn't recognize client command in the Socket client

    • @exceptionhack
      @exceptionhack  7 лет назад

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

  • @FazalullhaqShaikh
    @FazalullhaqShaikh 6 лет назад

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

    • @exceptionhack
      @exceptionhack  6 лет назад

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

  • @TheBausahab
    @TheBausahab 5 лет назад

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

  • @johndenvercmacavinta979
    @johndenvercmacavinta979 6 лет назад

    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  6 лет назад

      John Denver Macavinta i have it and will upload it ASAP

    • @exceptionhack
      @exceptionhack  5 лет назад

      ruclips.net/video/hRzMfyW2NLY/видео.html

  • @nadeemaamir8811
    @nadeemaamir8811 5 лет назад

    Could you please share the code...

  • @sunilkumareshwarappa1195
    @sunilkumareshwarappa1195 5 лет назад

    how to chat one client to other client

    • @exceptionhack
      @exceptionhack  5 лет назад

      ruclips.net/video/hRzMfyW2NLY/видео.html

  • @noor-e-baseerat7535
    @noor-e-baseerat7535 6 лет назад

    I need help any one plz

  • @gutofuul
    @gutofuul 3 года назад

    Tu é o mais pica papai Salvou.

  • @waleedfarrukh5590
    @waleedfarrukh5590 6 лет назад +1

    code?