Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gt.m - transfer opened device to new job

19 views
Skip to first unread message

xbar...@gmail.com

unread,
Oct 19, 2010, 8:01:07 AM10/19/10
to
Hello,

how can I transfer already opened device to new process created by job
command? For example in network server application. Main process is
listening and for each new created connection from client is created a
new process. Main process has handle to opend socket and I want to
transfer this opened socket to new process created by job command.

OldMster

unread,
Oct 19, 2010, 12:08:00 PM10/19/10
to

Better to use the Xinetd daemon to handle this sort of thing....

Mark

K.S. Bhaskar

unread,
Oct 19, 2010, 5:50:11 PM10/19/10
to

Agreed. As Mark says, better to use xinetd to establish $Principal
for incoming connections to provide services. In any case, GT.M does
not support a parent process handing a socket off to a child process.

Regards
-- Bhaskar
ks dot bhaskar at fisglobal dot com <-- send e-mail here

OldMster

unread,
Oct 19, 2010, 8:51:52 PM10/19/10
to

See Bhaskar - I pay attention some times!
:-)

Mark

0 new messages