mirror of
https://github.com/ksherlock/marignotti.git
synced 2024-05-28 12:41:34 +00:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
46e8e8e20f | ||
|
1873eefd16 | ||
|
001f3e166d | ||
|
738ef127bd | ||
|
500983aac2 | ||
|
561bbc03e8 | ||
|
0ab620845f | ||
|
7b61839ac1 | ||
|
4c42b341f3 |
17
README.md
17
README.md
|
@ -21,10 +21,10 @@ Installation:
|
|||
|
||||
2. copy the `etc/services` file to `/etc/services` (if it does not exist).
|
||||
|
||||
3. edit and copy the `etc/resolve.conf` file to `/etc/resolve.conf` (if it does
|
||||
not exist). This file is your DNS server
|
||||
3. edit and copy the `etc/resolv.conf` file to `/etc/resolv.conf` (if it does
|
||||
not exist). This file points to your DNS server; update it as needed.
|
||||
|
||||
4. If you don not have a DNS server, edit `/etc/hosts` to include your favorite
|
||||
4. If you do not have a DNS server, edit `/etc/hosts` to include your favorite
|
||||
sites.
|
||||
|
||||
|
||||
|
@ -81,12 +81,19 @@ of `sendto`.
|
|||
`ioctl` -- support for `FIONREAD` (bytes available to read) and `FIONBIO`
|
||||
(set/clear non-blocking).
|
||||
|
||||
`setsockopt` -- `SO_SNDLOWAT`, `SO_RCVLOWAT`, `SO_SNDTIMEO`, and `SO_RCVTIMEO` are supported.
|
||||
`SO_OOBINLINE` errors unless it's true.
|
||||
`SO_DEBUG`, `SO_REUSEADDR`, `SO_REUSEPORT`, `SO_KEEPALIVE` set a flag but have no other effect.
|
||||
|
||||
|
||||
|
||||
`getsockopt` -- support for `SO_TYPE`, `SO_DEBUG`, `SO_REUSEADDR`, `SO_REUSEPORT`, `SO_KEEPALIVE`,
|
||||
`SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`, `SO_SNDTIMEO`, `SO_RCVTIMEO`, `SO_NREAD`, `SO_NWRITE`
|
||||
|
||||
`getsockopt` -- support for `SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`,
|
||||
`SO_SNDTIMEO`, `SO_RCVTIMEO`, `SNDLOWAT` and `SNDTIMEO` set flags but don not have any
|
||||
other effect. `OOBINLINE` is only be supported when true.
|
||||
|
||||
`getsockopt` -- support for `SO_TYPE`, `SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`,
|
||||
`SO_SNDTIMEO`
|
||||
|
||||
Not (yet) supported:
|
||||
--------------------
|
||||
|
|
|
@ -23,10 +23,10 @@ sic -h irc.a2central.com -p 6667 -n myname
|
|||
|
||||
|
||||
2. copy the etc/services file to /etc/services (if it does not exist).
|
||||
3. edit and copy the etc/resolve.conf file to /etc/resolve.conf (if it does
|
||||
not exist). This file is your DNS server
|
||||
3. edit and copy the etc/resolv.conf file to /etc/resolv.conf (if it does
|
||||
not exist). This file points to your DNS server; update it as needed.
|
||||
|
||||
4. If you don't have a DNS server, edit /etc/hosts to include your favorite
|
||||
4. If you do not have a DNS server, edit /etc/hosts to include your favorite
|
||||
sites.
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ msp 18/udp # message send protocol
|
|||
chargen 19/tcp ttytst source
|
||||
chargen 19/udp ttytst source
|
||||
ftp 21/tcp
|
||||
# 22 - unassigned
|
||||
ssh 22/tcp
|
||||
telnet 23/tcp
|
||||
# 24 - private
|
||||
smtp 25/tcp mail
|
||||
|
|
4
main.c
4
main.c
|
@ -63,7 +63,7 @@ Word StartUp(displayPtr fx)
|
|||
// require 3.0b3
|
||||
if (TCPIPLongVersion() < 0x03006003)
|
||||
{
|
||||
if (fx) fx("Marinetti 3.0b3 is required.");
|
||||
if (fx) fx("\pMarinetti 3.0b3 is required.");
|
||||
if (flags & kLoaded)
|
||||
UnloadOneTool(54);
|
||||
return -1;
|
||||
|
@ -105,7 +105,7 @@ void ShutDown(word flags, Boolean force, displayPtr fx)
|
|||
}
|
||||
}
|
||||
|
||||
#define VERSION "0.2"
|
||||
#define VERSION "0.4"
|
||||
static void version(void)
|
||||
{
|
||||
fputs("Marignotti " VERSION "\n", stdout);
|
||||
|
|
|
@ -37,7 +37,7 @@ int mlisten(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
|||
if (t) return ENETDOWN;
|
||||
|
||||
// not in TCPSCLOSED state.
|
||||
if (terr = tcperrConExists) return EINVAL;
|
||||
if (terr == tcperrConExists) return EINVAL;
|
||||
if (terr) return EINVAL; // other errors?
|
||||
|
||||
return 0;
|
||||
|
|
1
mread.c
1
mread.c
|
@ -243,4 +243,3 @@ int mread(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
|||
// should not hit...
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
1
net.h
1
net.h
|
@ -32,4 +32,3 @@
|
|||
#define PRU_CO_GETOPT 18
|
||||
#define PRU_CO_SETOPT 19
|
||||
#define PRU_SELECT 20
|
||||
|
||||
|
|
|
@ -204,4 +204,3 @@ void s16_debug_tcp(unsigned ipid)
|
|||
s16_debug_printf(" uwUDPCount: $%08lx", ur->uwUDPCount);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user