REPOSITORY OVERVIEWLive repository statistics
★ 1Stars
⑂ 0Forks
◯ 0Open issues
◉ 1Watchers
31/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
10 Community adoption25% weight
0 Maintenance state20% weight
100 License clarity10% weight
0 Project information10% weight
75 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Network socket communication source codes
Small example console source codes for a network TCP and UDP socket communication over IPv4 and IPv6. For every type of communication there is the sender and the receiver for one text message over the network localhost interface preset.
The receiver must be called first, then the sender. The sender can be called more times for the same receiver. If you want transmitt own text message instead of the default, add it as the first parameter to the command line with the sender calling. Finally for stopping the receiver there must be with the sender calling the stop parameter entered.
Running under Windows
- clone this repository to your computer
- compile and run the example Java code
- compile and run the example .NET C# code
- run the example PHP code
- run the example Python code
1. Cloning to your computer
- install GIT on your computer
- clone this repository to your computer by the GIT command
git clone https://github.com/petrfaltus/network-socket-communication-source-codes.git
2. The Java client source code
- install Java JDK on your computer
- set the OS environment
%JAVA_HOME% variable (must exist "%JAVA_HOME%\bin\java.exe")
The subdirectory java contains prepared Windows batches:
01-compile-run-tcp4-receiver.cmd - compiles and runs the Java CLASS for TCP IPv4 receiver
01-compile-run-tcp4-sender.cmd - compiles and runs the Java CLASS for TCP IPv4 sender
01-compile-run-tcp6-receiver.cmd - compiles and runs the Java CLASS for TCP IPv6 receiver
01-compile-run-tcp6-sender.cmd - compiles and runs the Java CLASS for TCP IPv6 sender
01-compile-run-udp4-receiver.cmd - compiles and runs the Java CLASS for UDP IPv4 receiver
01-compile-run-udp4-sender.cmd - compiles and runs the Java CLASS for UDP IPv4 sender
01-compile-run-udp6-receiver.cmd - compiles and runs the Java CLASS for UDP IPv6 receiver
01-compile-run-udp6-sender.cmd - compiles and runs the Java CLASS for UDP IPv6 sender
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
Console applications for connection to the Microsoft SQL Server, how to update rows, how to read the table and how to call the stored function and the stored procedure. Complete example collection including Docker and SQL init. Code for Java built by the Maven, for Java built by the Gradle, for C# built by the .NET Framework and for PHP.
31/100 healthActive repository
JavaNo license#batch#batchfile#client#csharp
⑂ 0 forks◯ 0 issuesUpdated Jun 11, 2022
Console applications for connection to the Oracle database, how to update rows, how to read the table and how to call the stored function and the stored procedure. Complete example collection including Docker and SQL init. Code for Java built by the Maven, for Java built by the Gradle, for C# built by the .NET Framework and for PHP.
31/100 healthActive repository
JavaNo license#batch#batchfile#client#csharp
⑂ 2 forks◯ 0 issuesUpdated Jan 29, 2021