TCP/IP Server & Client Communication - C# Programming

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • This video shows how to code C# program to communicate between TCP/IP server and client on Visual Studio.
    ========================================
    Don't forget to click like and subscribe my channel.
    Please give me support by Paypal: www.paypal.me/...

КОМЕНТАРІ • 38

  • @kkard2
    @kkard2 5 років тому +8

    I watched the video only because of this music lmao

  • @robxlift
    @robxlift 3 роки тому +1

    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

  • @furkankeles2623
    @furkankeles2623 2 роки тому

    Hello, very nice video thank you. I want to separate the sensor data that comes in the form of packets via arduino with the 'Split' command and print them to different textboxes. How can I do it?

  • @AutomationAndSoftwareAcademy
    @AutomationAndSoftwareAcademy 3 роки тому

    Before off all thanks, can I provide the communication between codesys plc and C# by modbus TCP protocol with method on this video

  • @MEGAFERMAN
    @MEGAFERMAN 5 років тому +2

    U are the best, thanks man why did you not upload this video before ?

  • @aliassal7773
    @aliassal7773 5 років тому +4

    how to disconnect?

  • @rocky91289
    @rocky91289 3 роки тому

    Thank you bro... it's working!

  • @ICT-SOLUTIONS
    @ICT-SOLUTIONS 3 роки тому

    I need help here on the send button code. Is it (server Stream.write(outstream,0, ) Outstream.length)? Kindly assist me

  • @kislez2013
    @kislez2013 8 місяців тому

    In new version of VS default(NetworkStream) causes error…

  • @coralch1
    @coralch1 4 роки тому +1

    Thanks man! it helped a lot!

    • @ChunzPS
      @ChunzPS  4 роки тому

      Glad it helped!

  • @matheusbiehl
    @matheusbiehl 2 роки тому

    It worked, thank you!

  • @samytimalsina3269
    @samytimalsina3269 4 роки тому

    Thanks for the great video!

  • @codybond4446
    @codybond4446 3 роки тому

    hello there, for some reason I can't use the Invoke method, any Ideas??

    • @James80273
      @James80273 3 роки тому +2

      Invoke method is used to refresh the text box from another thread (only the main thread can change the form). If you cant find it you are probably not using the Form class. If you are doing just test console application then Console.WriteLine(); would suffice for an output

    • @codybond4446
      @codybond4446 3 роки тому

      Thank you very much for the answer.

  • @tiagocosta9113
    @tiagocosta9113 5 років тому +1

    thanks!!! great video!!!

  • @sayidjafari
    @sayidjafari 4 роки тому

    how we can get client ip which connected to our server if client ip is not valid ip is it possible

    • @ChunzPS
      @ChunzPS  4 роки тому

      What do you mean by "not valid ip" ?

  • @LIRDCEoffical
    @LIRDCEoffical 4 роки тому

    Hello how i can host an own server?

  • @alperenerdogan4602
    @alperenerdogan4602 4 роки тому +1

    Thank you ...

  • @fo7035
    @fo7035 4 роки тому

    how we can sent a video by this way

  • @arka5570
    @arka5570 4 роки тому

    Can you kindly share the project solution?

  • @Player-ub9tg
    @Player-ub9tg 4 роки тому

    does it work only for localhost?

    • @ChunzPS
      @ChunzPS  4 роки тому

      It also works for remote communication.

    • @hidden_spark9644
      @hidden_spark9644 3 роки тому

      @@ChunzPS Which is the configuration for this?. I can´t connect with public's IP.

  • @hammadrafiq7614
    @hammadrafiq7614 5 років тому

    i am facing a problem in the program can you help me out??

    • @ChunzPS
      @ChunzPS  5 років тому

      Could you please describe your problem?

  • @pankajnagekar4731
    @pankajnagekar4731 5 років тому

    Thank you for you help.

  • @nguyencanh8369
    @nguyencanh8369 4 роки тому

    thanks

  • @gauravpun6749
    @gauravpun6749 5 років тому

    Thank you very much !

  • @sekmanimohamedamine1237
    @sekmanimohamedamine1237 3 роки тому

    at least give us the full text code, finally thanks

  • @nadeem2nazar1
    @nadeem2nazar1 5 років тому

    very good thanks, please can you share code

  • @파플-u9d
    @파플-u9d 5 років тому

    Please give me the project file

  • @mr.haidarkhan
    @mr.haidarkhan 5 років тому

    Thanks for Sharing your code TCP client ..
    I need your help we have machine device connect with LAN cable to switch with IP and port. how this client message passing to the machine device try but its not working with the machine device
    I found one app SocketTest java app i got the open source but i don't know how to make in C# ..
    Need your help solution for this in C# i will share you the link sockettest.sourceforge.net/ java app is working fine but i need in C# Thanks