[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's missing/wrong in these test programs?
From: |
Svante Signell |
Subject: |
Re: What's missing/wrong in these test programs? |
Date: |
Sun, 12 Apr 2015 23:13:27 +0200 |
Thanks for looking into this :)
On Sun, 2015-04-12 at 20:19 +0200, Samuel Thibault wrote:
> Hello,
>
> Svante Signell, le Fri 10 Apr 2015 13:58:23 +0200, a écrit :
> > One strange thing with these programs (without
> > proc_user/server_identify() enabled) is:
> > - auth_socket_send/recv.c reports received data being zero for
> > SOCKET_STREAM
> > - ident_socket_send/recv.c reports received data being zero for
> > SOCKET_DGRAM
>
> ident_socket_recv.c: Received data = 0
This is the problem: data is zero here.
> ident_socket_send.c: Sent data = 12345
And sent data is 12345. Works with the SOCK_STREAM case. Not related to
passing ports at all.