Networking Forums

Networking Forums > Computer Networking > Linux Networking > socket programming in module HOWTO?

Reply
Thread Tools Display Modes

socket programming in module HOWTO?

 
 
suhas
Guest
Posts: n/a

 
      01-29-2004, 10:20 AM
hallo all,
My group cerrently working on the 'process migration',so for that we
currently doing socket programming for that we want to do the socket
programming in module.Because the linux kernel is preepmtive so after
doing listen for incoming request from client can kernel performs
another task except other than the listen.
 
Reply With Quote
 
 
 
 
Neil Horman
Guest
Posts: n/a

 
      01-29-2004, 12:50 PM
suhas wrote:
> hallo all,
> My group cerrently working on the 'process migration',so for that we
> currently doing socket programming for that we want to do the socket
> programming in module.Because the linux kernel is preepmtive so after
> doing listen for incoming request from client can kernel performs
> another task except other than the listen.

You're really going about this in the wrong way. If you want to wait for
tcp connections, while I suppose its _possible_ to do from kernel space,
you'll really wind up with a better, more stable application if you do
this from user space. I'd investigate the possibility of instead
writing a module, or understanding how current driver modules can report
information to you in user space relevant to a process you wish to
migrate. Then you can just write a user space app to manage the
connections and send the relevant data to peer nodes in the system.

HTH
Neil

--
Neil Horman
Red Hat, Inc., http://people.redhat.com/nhorman
gpg keyid: 1024D / 0x92A74FA1, http://www.keyserver.net
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
socket programming rak.dontmess@gmail.com Linux Networking 4 02-12-2008 11:00 PM
Can any one help me!! (Socket Programming) girishdomain@gmail.com Linux Networking 8 05-25-2005 04:17 PM
socket programming Andreas Lassmann Linux Networking 4 04-27-2005 06:52 AM
Help for socket programming as kernel module sank Linux Networking 1 02-05-2004 04:32 PM
socket programming PH Linux Networking 4 11-16-2003 10:39 PM



1 2 3 4 5 6 7 8 9 10 11