Wiki Home >> SIO-Command-$4E-Network-Open

SIO-Command-$4E-Network-Open


Network Open ($4E) ['O']

Description

Opens a network connection for a specified protocol, to the specified path and/or port.

To be used, a valid Device Spec must be written to the buffer provided.

N: Devicespec Specification

Parameters

DCBValue
DDEVIC$71
DUNIT$01 for N1: to $08 for N8:
DCOMND$4E
DSTATS$80
DBUFBuffer pointing to valid devicespec
DTIMLO$0F
DBYT256
DAUX1bit 2 - Read, bit 3 - write
DAUX2Passed through to protocol handler.

Examples

CC65

Atari BASIC

REM Open Network Connection (CMD 79 'O', AUX1=12 [R/W])
OPEN #1,12,0,"N:HTTP://EXAMPLE.COM/"

CC65

See Also

Put other related command links here.


Wiki content is mirrored from the FujiNet Github Wiki