C# Tutorial - TCP/IP Client Server | FoxLearn

preview_player
Показать описание
Create a simple chat TCP/IP Client Server C# Application Development Windows Forms. The C# Basics beginner course is a free c# tutorial series that helps beginning programmers learn the basics of the c# programming language

Through this video you will learn the following topics:

Create Simple TCP chat application c# or using c# TCP Server for simple chat or multiple client server chat program in c#

c# simple tcp client
c# tcp server
c# send tcp message
tcp listener c# example
socket programming in c# example client server
c# client server application tcp ip port c# socket programming
make a simple c# chat application
how to make a chat app in c# client server
Simple TCP/IP library for fast C# networking
How to make a chat program in c# network programming
C# Very simple TCP/IP connection framework
Simple TCP [client/serveur] application c# socket server
Network Programming in C#, TcpClient using visual studio c# tutorial
Рекомендации по теме
Комментарии
Автор

Nicely quick. Normally poeple take 10min just to explain how to place a button.

frankfahrenheit
Автор

Everything in the code is right except the client btnConnect part where he didn't connect the client to server -

private void btnConnect_Click(object sender, EventArgs e)
{
btnConnect.Enabled = false;
System.Net.IPAddress ip =
client.Connect(txtHost.Text,
}

add this part to client and it should resolve the problem

alexkay
Автор

Great video. Once again I got a lot out of it and especially from those commenting on it. Thanks for all the awesome work you do!

thomasedwardking
Автор

I love your sweet voice mummy.
Thanks for the good use of the TCP/IP.
Good old packets.

TheFuture
Автор

Your content & teaching pattern ia really awesome.
We beginners salute you....

manjeetnandal
Автор

Thank you Fox learn for another great video we can learn C# coding from

Andrew-xbhl
Автор

Thank you! Everything works, but I dont understand why client sends "\x13" at the end of the message box string?

kislez
Автор

Hello Fox thanks for your efforts. I have a question. I want to get in my application the items connected to my laptop by the LAN RJ45 could this work, or do you have any good suggestions?

zakariaannid
Автор

That's amazing... Maybe, I was looking for something similar, I asked, I helped, but I needed to do a KDC, have not you made a video of that? Thank you.

erickjoseruizpaz
Автор

Hello Fox Learn,
Thank you for this tutorial since it helped me a lot to my TCP project. Here's another question :
How can we create the same kind of little program with 2 TCP ports? Thanks in advance.

guillaume
Автор

Thank you, amazing tutorial! It helps me a lot <3

Michu
Автор

In Client Form, how can i know whenever client connected to server or fail?? Why didn't you creat a disconnect button for client??

phongnguyenkhac
Автор

Thanks for the video FoxLearn. Can I integrate this C# Client side script with the server written in C language (Using TCP) ? Please help me out.

CelestialSoul
Автор

but if i want to make the client webpage to access it using my mobile, what i need to do?

bassemk
Автор

"System.Exception: 'Cannot send data to a null TcpClient (check to see if Connect was called)'" it happens to me when I press "send' :(

itsimsonbgandibul
Автор

I have an error at this line
server.Start(ip,
How to fix it ?

vorapobautomation
Автор

Thanks a lot Fox Learn.
If I want get a IO using ethernet communication from Vision camera device, how can be done in C#.
May I use the same concept as this tutorial?
Seek your advice.
Thank You

Jemszie
Автор

So this can be used in 2 PCs, using Lan?

xbxb
Автор

I get an error saying for the IPAdress. Wrong format exception. Cannot convert to IPAdress to long....

CaptainChubbyDuck
Автор

하나만질문드려도될까요~ ip주소를 실제현재 제아이피주소로해야 서로작동이되나요?

김안드레-if