Displaying 3 results from an estimated 3 matches for "testeof".
2017 Sep 08
5
EOF from net_disconnect(fd)
...??????????? if (strncmp(res, "OK ", 3) == 0) {
??????????????? ? ret = 0;
??????????????? }
? }
}
}
alarm(0);
char stx[1];
stx[0]=(char) 4;
//stx[1]='\0';
if ( net_transmit(fd, stx, sizeof(stx) ) < 0 ) {
? i_error("Error writing EOF");
}
//string_t *testEOF= t_str_new(2);
//str_append(testEOF, (char*) 4);
//if ( net_transmit(fd, str_data(testEOF), str_len(testEOF) ) < 0 ) {
//????? i_error("Error writing EOF");
//??? }
//i_close_fd(&fd);
net_disconnect(fd);
fd=-1;
Thank you,
Steffan Cline
602-793-0014
2017 Sep 08
1
EOF from net_disconnect(fd)
...;> char stx[1];
>>
>> stx[0]=(char) 4;
>>
>> //stx[1]='\0';
>>
>> if ( net_transmit(fd, stx, sizeof(stx) ) < 0 ) {
>>
>> i_error("Error writing EOF");
>>
>> }
>>
>>
>>
>> //string_t *testEOF= t_str_new(2);
>>
>> //str_append(testEOF, (char*) 4);
>>
>> //if ( net_transmit(fd, str_data(testEOF), str_len(testEOF) ) < 0 ) {
>>
>> // i_error("Error writing EOF");
>>
>> // }
>>
>>
>>
>> //i_cl...
2017 Sep 08
0
EOF from net_disconnect(fd)
...>
> }
>
> }
>
> alarm(0);
>
>
>
> char stx[1];
>
> stx[0]=(char) 4;
>
> //stx[1]='\0';
>
> if ( net_transmit(fd, stx, sizeof(stx) ) < 0 ) {
>
> i_error("Error writing EOF");
>
> }
>
>
>
> //string_t *testEOF= t_str_new(2);
>
> //str_append(testEOF, (char*) 4);
>
> //if ( net_transmit(fd, str_data(testEOF), str_len(testEOF) ) < 0 ) {
>
> // i_error("Error writing EOF");
>
> // }
>
>
>
> //i_close_fd(&fd);
>
> net_disconnect(fd);
>
&...