This is the Linux app named getty whose latest release can be downloaded as v1.3.0sourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named getty with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
getty
DESCRIPTION
Getty is an asynchronous network I/O library developed in Golang. It operates on TCP, UDP, and WebSocket network protocols, providing a consistent interface EventListener. Within Getty, each connection (session) involves two separate goroutines. One handles the reading of TCP streams, UDP packets, or WebSocket packages, while the other manages the logic processing and writes responses into the network write buffer. If your logic processing might take a considerable amount of time, it's recommended to start a new logic process goroutine yourself within codec.go's (Codec)OnMessage method. Additionally, you can manage heartbeat logic within the (Codec)OnCron method in codec.go. If you're using TCP or UDP, you should send heartbeat packages yourself and then call session.go's (Session)UpdateActive method to update the session's activity timestamp. You can verify if a TCP session has timed out or not in codec.go's (Codec)OnCron method using session.go's (Session)GetActive method.
Features
- Licensed under the Apache License
- Code examples
- Netty-like asynchronous network I/O library
- You can manage heartbeat logic
- You can verify if a TCP session has timed out or not
- It operates on TCP, UDP, and WebSocket network protocols, providing a consistent interface EventListener
- Within Getty, each connection (session) involves two separate goroutines
Programming Language
Go
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/getty.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.