Table of Contents
Description
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.
Parameters
- The IOCB of the channel to close
Returns
Examples
BASIC
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:"
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 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
- Atari FujiNet Quickstart Guide
- Virtual FujiNet Quickstart Guide
- ADAM FujiNet Quickstart Guide
- Apple II & III FujiNet Quickstart Guide
- Color Computer Quickstart Guide
- Commodore FujiNet Quickstart Guide
- S100 FujiNet Quickstart Guide
- Mac68k Quickstart Guide
- RS232 Quickstart Guide
- Atari 5200 Owner's Manual
- Arcadia 2001 Owner's Manual
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - AppKey-Registry-Page
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- The Network Protocol Handbook
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Intellivision Programming
- NES Programming
- Atari 7800 Programming
- RCA Studio II Programming
- Atari 5200 Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine
Copyright 2026 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD