⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 as400.notes

📁 项目描述: slsnif is a serial port logging utility. It listens to the specified serial port and logs all
💻 NOTES
字号:
1) some name > 8.3 were renamed to 8.3 to make migration to
   migration easier. I did not include the modules I just chopped
   any name that was not 8.3 when I moved it to the AS/400.

2) Changed unix format (x'0a') to (x'0d0a') for move on all modules
   and headers before I moved them to the AS/400. Again this was
   a mechanical process so I did not include.

3) Added def AS400 to sockets.h

4) Added "define(AS400)" to setproto.h

5) Added def AS400 to xtdio.h

6) Changed this line in svprintf
     #ifdef AS400
       ret= vsprintf(buf,fmt,__va_list args);
     #else
       ret= vsprintf(buf,fmt,(char *) args);
     #endif

7) changed sopen to initialize sockaddr_in to 0x00 just before bind
   and just before connect in SOPEN.c

   look for  two lines of code in sopen.c that say...
   memset(&sin,0x00,sizeof(struct sockaddr_in));


8) I modified spm (called spmstrtr) to start the server if it was
   not registered already.  There are some comments in the module
   and the code is at the very end.

9) On the AS/400 I created a service library.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -