HS Banner
HS Codebank Articles
Page 1 of 1

MODBUS/TCP Example 12/08/2024

Description:

The following example shows how to configure a MODBUS/TCP protocol and read values.

Author: Admin
Language: C#
Tags: modbus tcp
Read More

Use Sockets to send and receive data over TCP 05/07/2023

Description:

When working with System.Net.Sockets, you represent a network endpoint as an IPEndPoint object. The IPEndPoint is constructed with an IPAddress and its corresponding port number. Before you can initiate a conversation through a Socket, you create a data pipe between your app and the remote destination.

Author: Admin
Language: C#
Tags: sockets send receive tcp cs
Read More

TcpClient Class 04/01/2021

Description:

This is a class I've used on a network chat program I built.

Author: Guitarman
Language: C#
Tags:
Read More

Submit Your Code

If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us

List of Supported Languages
Apache Config
Bash
C
C#
C++
CoffeeScript
CSS
Diff
GO
HTML, XML
HTTP
Java
JavaScript
JSON
Kotlin
Less
Lua
Makefile
Markdown
Nginx Config
NSIS
Objective-C
Perl
PHP
Plain Text
PowerShell
Properties
Python
Python REPL
R
Ruby
Rust
SCSS
Shell Session
SQL
Swift
TOML, also INI
TypeScript
VB Script
Visual Basic .NET
YAML
Request New Language