Search Results

Search: Posts Made By: developer
Forum: IP Networking 05-23-2002
48,640
Posted By developer
Very well killerserv, the only thing I want to...
Very well killerserv, the only thing I want to add is that when you send packets from a socket that is bound to a socket address structure with sin_addr (sin6_addr) to INADDR_ANY (in6addr_any) then...
Forum: IP Networking 03-27-2002
18,533
Posted By developer
You must be a bit more specific. An IPv4 address...
You must be a bit more specific. An IPv4 address is a 32 bit word. If you have a look in the /usr/include/netinet/in.h header file you will see a struct in_addr, which has only one member of type...
Forum: Programming 03-14-2002
7,192
Posted By developer
Briefly the ioctl function is called with three...
Briefly the ioctl function is called with three arguments. The first is a file descriptor, a socket in the case of network programming. The second argument is the request, e.g. what you want to do,...
Forum: IP Networking 02-26-2002
8,213
Posted By developer
Yeah after network stop and start the...
Yeah after network stop and start the configurations are all gone. That's probably because ifconfig uses ioctl. I made a simple programm that uses ioctl for changing the IP, I can give it to you if...
Forum: IP Networking 02-25-2002
8,213
Posted By developer
You re wellcome. You can also add an alias to...
You re wellcome. You can also add an alias to your interface with ifconfig. You can write ifconfig eth0:x <IP ADDRESS> netmask <NETMASK>. But then you must add with route a default gateway to your...
Forum: IP Networking 02-19-2002
8,213
Posted By developer
What you need to do is to add an alias to the...
What you need to do is to add an alias to the interface, in order to do that, do the following. First go to the file /etc/sysconfig/networking/devices/ifcfg-eth0 and add the following lines:
...
5,288
Posted By developer
That could probeply mean that either...
That could probeply mean that either <I>whereis</I> cannot find it or the sysidcfg is not installed. You can also try <I> slocate sysidcfg </I>, slocate is builtin in linux but I don't know for...
5,288
Posted By developer
Try <I>whereis sysidcfg</I> and it will give you...
Try <I>whereis sysidcfg</I> and it will give you the path to sysidcfg.
10,404
Posted By developer
Try to use the top command. It shows you all the...
Try to use the top command. It shows you all the processes and what percentage of the cpu they use, in real time. For linux top is built in but I don't know if the command exists for AIX.
4
16,831
Posted By developer
In order to make a tar.gz file you should do the...
In order to make a tar.gz file you should do the following. First use the tar command to make the .tar file, to do that either go to the parent directory, of the directory you want to make an archive...
Forum: IP Networking 01-28-2002
3,539
Posted By developer
What information do you have about the person you...
What information do you have about the person you want to find its IP address? If you know the name of the host i.e. www.unix.com then a simple nslookup www.unix.com or host www.unix.com will give...
Forum: IP Networking 01-25-2002
6,910
Posted By developer
Fragmentation is purely a layer three (IP)...
Fragmentation is purely a layer three (IP) functionality. When a router receives an IP packet whose size is bigger than the alowed transmited size in the attached link then the packet is...
Forum: IP Networking 01-10-2002
8,033
Posted By developer
Exactly. As far as I know this flag is the...
Exactly. As far as I know this flag is the ip_nonlocal_bind, however when I set it bind returns an error. Do you know if there is any other flag that could overcome the problem? I forgot to mention...
Forum: IP Networking 01-10-2002
8,033
Posted By developer
What I am trying to do is to develop a...
What I am trying to do is to develop a micromobility protocol, i.e. a protocol that will allow users to move from one place to another while containing all the already active connections. From the...
Forum: IP Networking 01-10-2002
8,033
Posted By developer
CORRECTION I am using raw sockets. Because with...
CORRECTION
I am using raw sockets. Because with tcp or udp sockets bind() does not cause a problem. However for raw socket bind returns EADDRNOTAVAIL.
Forum: IP Networking 01-09-2002
8,033
Posted By developer
Any knowledge for sysctl?
HI folks. I am developing a protocol and I need to bind to an IP address that is not configured to my machine. The problem is with bind(). The sysctl system call seamed to overcome the problem of...
6,350
Posted By developer
try setenv $CLASSPATH:/opt
try setenv $CLASSPATH:/opt
Forum: Programming 12-17-2001
3,827
Posted By developer
It's not an error; the compliler just left some...
It's not an error; the compliler just left some memory between the array and the double. You can check that there is not a problem if instead of array of chars of size 1, as you have in your...
Forum: Programming 12-17-2001
3,827
Posted By developer
The sizeof operator returns the number of bytes...
The sizeof operator returns the number of bytes required to store an object of type of its operand. When applied to a structure or a union the result is not necessarilly the sum of the size of the...
Forum: Programming 12-14-2001
2,557
Posted By developer
Threads in unix are very simple and are created...
Threads in unix are very simple and are created by the the system call pthread_create. The complete format of the system call is pthread_create(pthread_t *pid, const pthread_attr_t *attr, void...
Forum: IP Networking 12-14-2001
4,434
Posted By developer
The TIME_WAIT state follows the termination of a...
The TIME_WAIT state follows the termination of a TCP connection and it lasts for double the time MSL (Maximum Segment Lifetime).
The MSL is the time required for a segment to travel from the source...
Forum: IP Networking 12-14-2001
4,537
Posted By developer
Thanx mate. I ll try to recompile the kernel. I...
Thanx mate. I ll try to recompile the kernel. I was also thinking to use setsockopt but I did not find any option to allow me to do something like that. Do you know if such an option exist or the...
Forum: IP Networking 12-14-2001
4,537
Posted By developer
set the source IP address to zero
Hi, does anybody know how to set the IP source address of an IP packet to be zero? The problem is that when you create a raw socket and set the IP_HDRINCL socket option, if you put the ip_src address...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy