Skip to content
Snippets Groups Projects
Commit 509eb552 authored by deuce's avatar deuce
Browse files

Add support for three new line1 types in door.sys:

COM0:STDIO <- Indicates that stdio should be used.
COM0:SOCKET### <- Indicates socket I/O should be used with socket handle ###
COM0:HANDLE### <- Indicates Win32 COM should be used with COM handle ###
parent e73d1030
No related branches found
No related tags found
No related merge requests found
......@@ -821,6 +821,22 @@ read_dorinfox:
od_control.port=szIFTemp[3]-'1';
/* Check for COM0:STDIO */
if(!strncmp(szIFTemp,"COM0:STDIO",10))
od_control.od_com_method=COM_STDIO;
/* Check for COM0:SOCKET### */
if(!strncmp(szIFTemp,"COM0:SOCKET",11)) {
od_control.od_com_method=COM_SOCKET;
od_control.od_open_handle=atoi(szIFTemp+11);
}
/* Check for COM0:HANDLE### */
if(!strncmp(szIFTemp,"COM0:HANDLE",11)) {
od_control.od_com_method=COM_WIN32;
od_control.od_open_handle=atoi(szIFTemp+11);
}
/* Read line 2. */
if(fgets((char *)apszDropFileInfo[0], 80, pfDropFile) == NULL)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment