GitHub - larsbrinkhoff/imp: New implementation of an Arpanet IMP · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
larsbrinkhoff
imp
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star<br>14
master
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>6 Commits<br>6 Commits
src
src
.gitignore
.gitignore
README.md
README.md
View all files
Repository files navigation
Arpanet IMP implemented in C
This is part of the effort to add simulated IMP interfaces in SIMH.
See BBN Report 1822<br>for the protocol used to communicate with the IMP.
API
First reset the IMP:
t_stat imp_reset (IMP *imp)
Then set imp.receive_bit to a callback which is used to receive data<br>from the network. The callback will receive a boolean bit, and<br>another boolean to say whether the bit was the last in a message. The<br>callback has this type:
t_stat (*) (int bit, int last)
The IMP accepts data from a host using one of these two APIs:
t_stat imp_send_bits (IMP *imp, uint64 data, int n, int last)
t_stat imp_send_packet (IMP *imp, void *octets, int n)
The first function accepts input in the lower n bits of data. Message<br>bits accumulate until last is true.
The second function can be used to send a complete packet with n bits.
About
New implementation of an Arpanet IMP
Topics
emulator
retrocomputing
computer-history
imp
ncp
arpanet
Resources
Readme
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
14<br>stars
Watchers
watching
Forks
forks
Report repository
Releases
No releases published
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
99.5%
Makefile<br>0.5%
You can’t perform that action at this time.