(no subject)

(no subject)

Post by khadija.boumahd » Wed, 21 Apr 1999 04:00:00



in a short application ; i try to use setsockopt in ordre to set
security level :

 setsockopt(sock,IPPROTO_IPV6,IPV6_ESP_TRANS_LEVEL,(const void*)
seclevel, sizeof(int))

but i have this  message of error:
               setsockopt: bad address
can someone help me
                              thanks

 
 
 

(no subject)

Post by Rainer Temm » Wed, 21 Apr 1999 04:00:00



> in a short application ; i try to use setsockopt in ordre to set
> security level :

>  setsockopt(sock,IPPROTO_IPV6,IPV6_ESP_TRANS_LEVEL,(const void*)
> seclevel, sizeof(int))

> but i have this  message of error:
>                setsockopt: bad address
> can someone help me

Without seeing any more of your code I cann only assume that
seclevel is a variable of int type...
in that case, you should use &seclevel , because setsockopt()
needs a pointer, not an int.
Regards Rainer

 
 
 

1. Not Available these Signal nos on Linux

Greetings,

The following macros are there on AIX  but not on Linux.If we have
on Linux pls  suggest me how to use(say path) or tell me alternative?

#define SIGDANGER 33    /* system crash imminent; free up some page
space */
#define SIGSAK    63    /* secure attention key */
#define SIGSOUND  62    /* sound control has completed */
#define SIGKAP    60    /* keep alive poll from native keyboard */
#define SIGGRANT  SIGKAP /* monitor mode granted */
#define SIGRETRACT 61   /* monitor mode should be relinguished */
#define  F_CLOSEM       10/**on AIX /usr/include/fcntl.h****/
#define _D_NAME_MAX 255

Thnaks in Advance
Sudhakar Reddy.N

2. fdisk problems

3. CD-RW: CDFS? Unstable dev nos?

4. Per process, per user network bandwidth limiter

5. NOS shootout

6. fvwm95-2

7. Seeds for random nos.

8. Logitech wheel mouse 'TrackMan Marble+' in Mandrake 7.2

9. faster NOS: NetWare or Linux?

10. Software to read NOS/VE backup tapes

11. Help: What is best NOS/platform for Oracle?

12. Unix <-> NOS