-
Notifications
You must be signed in to change notification settings - Fork 74
N Device Close
europlus edited this page Sep 20, 2024
·
4 revisions
Closes the client socket associated with the given IOCB; flushes TX buffer; discards RX buffer.
Important
This does not close the associated listening socket for an IOCB. You must use the SPECIAL - UNLISTEN command to close a server socket that has been previously opened.
- The IOCB of the channel to close
For a client connection, assuming that IOCB #1 has been opened with:
OPEN #1,12,0,"N:TCP:192.168.1.8:2000"
Then you can close with:
CLOSE #1
For a server connection, assuming that IOCB #1 has been opened with:
OPEN #1,12,1,"N:TCP:2000"
Then you can close with
CLOSE #1:REM CLOSE CLIENT SOCKET
XIO 20,#1,0,0,"N:"
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