Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: -current postfix breakage? (on sparc64)
On Thu, Jul 17, 2008 at 05:04:42PM +0900, tacha%tack.fukui-med.ac.jp@localhost
wrote:
> In fact, you can check the situation with a simple program
> which I attached below.
> ssize_t mss;
this needs to be: int mss;
> /* now check mss */
and here you need to initialize mss_len: mss_len = sizeof(mss);
> if ((err = getsockopt(s, IPPROTO_TCP, TCP_MAXSEG,
> (char *) &mss, &mss_len)) < 0) {
> printf("err=%d\n", err);
> exit(1);
> }
With these changes your test program works fine for me.
Martin
Home |
Main Index |
Thread Index |
Old Index