-
Notifications
You must be signed in to change notification settings - Fork 0
maxng07/Emulating-TCP_UDP-Server
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Emulating TCP and UDP Server This is a module for emulating a TCP or UDP Server. It has an external configuration file, config.json that takes in parameters for ther server. CONN_HOST - The hostname or IP address of the server or FQDN CONN_PORT - The TCP or UDP portnumber CONN_TYPE - TCP or UDP MSG - The customised message the server will send back to the connecting client Starting up the server, it listens on the configured port and waits for connection. It responds back with the customised message if the connecting client sends a message, then the connection is closed. This module can be used together with Emulating TCP_UDP Client to walk through a typical network transport connection. The module can also act as a Client connecting home. A quick way to test is do a go run tcpserver.go instead of build or install. And a quick way to test it is by using telnet. An example from a connecting client using telnet telnet localhost 8888 Or use the Emulating TCP_UDP Client.
About
Emulating custom TCP or UDP Server and respond with a custom message
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published