Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Component/Network
From Turing Complete
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox component | type = io | subtype = sandbox | prerequisite = Lab }} {{Stub}} This page assumes some familliarty with [https://en.wikipedia.org/wiki/Transmission_Control_Protocol TCP/IP]. {| class="wikitable" |+ Network commands !colspan="2"|Command |Arguments |- !<code>0</code> |No request |(none) |- !<code>1</code> |Listen |<code>Port</code> |- !<code>2</code> |Connect |<code>IP, Port</code> |- !<code>3</code> |Send data |<code>Connection ID, Data, Data Length</code> |- !<code>4</code> |Close |<code>Connection ID</code> |- !<code>5</code> |Read next event |(none) |} {| class="wikitable" |+ Event types !colspan="2"|Event !Results |- !<code>0</code> |No new events |(none) |- !<code>1</code> |Incomming Connection |<code>Connection ID, Port</code> |- !<code>2</code> |Connect complete |(none) |- !<code>3</code> |Recieve data |<code>Connection ID, Data, Data Length</code> |- !<code>4</code> |Connection closed |<code>Connection ID / Error code</code> |}
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:-
(
edit
)
Template:Infobox/styles.css
(
edit
)
Template:Infobox component
(
edit
)
Template:Level
(
edit
)
Template:Stub
(
edit
)
Template:Tag
(
edit
)
Template:Tag/styles.css
(
edit
)
Template:Truthtable/styles.css
(
edit
)