-
Notifications
You must be signed in to change notification settings - Fork 69
N Device Get Characters
europlus edited this page Sep 20, 2024
·
4 revisions
Get one or more characters from a socket previously opened. If ICBLL/ICBLH is more than one, then CIOV will call this routine multiple times, fetching a character from the buffer, each time.
Tip
It is recommended that you call STATUS prior to this call, so that you can determine if any characters are available to be fetched.
- IOCB
- If multiple characters are to be fetched, a pointer to a user buffer must be placed in ICBAL/ICBAH, as well as a length for the buffer in ICBLL/ICBLH
Standard CIO returns, such as:
- If there are no more characters to fetch, an ERROR 136 is returned.
Given a IOCB is opened with something like:
OPEN #1,4,0,"N:TCP:192.168.1.8:2000"
The following will fetch the next available byte from the socket, and place in variable A.
GET #1,A
TBD: I need a good example, here!
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine