1
0
mirror of https://github.com/simh/simh.git synced 2026-04-27 20:38:04 +00:00

Revised the socket library sim_sock(.c & .h) to support both IPv4 and IPv6 leveraging the RFC3493 APIs.

All dependent code has been updated to use the revised interfaces.
This commit is contained in:
Mark Pizzolato
2012-09-28 15:34:55 -07:00
parent 6692832785
commit 30ce7fdbaa
11 changed files with 686 additions and 311 deletions

View File

@@ -57,7 +57,7 @@ typedef struct tmxr TMXR;
struct tmln {
SOCKET conn; /* line conn */
uint32 ipad; /* IP address */
char *ipad; /* IP address */
uint32 cnms; /* conn time */
int32 tsta; /* Telnet state */
int32 rcve; /* rcv enable */
@@ -83,7 +83,7 @@ struct tmln {
struct tmxr {
int32 lines; /* # lines */
int32 port; /* listening port */
char *port; /* listening port */
SOCKET master; /* master socket */
TMLN *ldsc; /* line descriptors */
int32 *lnorder; /* line connection order */