Re: the error connection of socket in kernel(new)

2005-05-31 Thread Neo-Vortex
On Tue, 31 May 2005, shiner chen wrote: >sa_in.sin_port = htons(21); >/*this is my computer ip:172.19.11.8*/ >sa_in.sin_addr.s_addr = htonl((172 << 8) | 19) << 8) | 11) << 8) | > 48); Can't help much with your question, but that last line quoted could be made much s

Re: the error connection of socket in kernel(new)

2005-05-31 Thread Robert Watson
On Tue, 31 May 2005, shiner chen wrote: In order to test the process of connection of socket in kernel ,I wrote a kld . When i load the kld ,the code try to connect the server of ftp,but i foud the code does not work right . the function , connect ,which return is right ,but ,when i see the s