sockets in linux 2.4.2 kernel
hi
i'm trying to run a simple client and server in my redhat linux 2.4.2 .
i created TCP stream socket on both client and server and attempted to run the server and client in the same machine in different consoles.
I'm not able to establish connection with the server. however the program works fine with linux kernel 2.2. Is there any change with the usage of sockets with the new kernel ?
I found that the socket descriptors for both the client and server to be 3 !
could anyone explain why the descriptors were same instead of being unique ?
thanks in advance ,
ashok
|