2 posts about TcpListener by 2 contributors.
Know TcpListener? Share what you know with developers who are learning it.
C# and .NET form the backbone of a simple web server application described in this article. Using TcpListener, the application listens on a specified port for incoming HTTP requests, handling them using fundamental HTTP methods like GET. MIME types, defined in Mime.Dat.
This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article