Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 5th, 2004, 01:47 PM
Registered User
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to implement multithreading in Socket ???

Hi,
  I have a problem with socket programming , I have implemented multiple clients single server through Select System call and it is working fine. i am trying to implement Multithreading in that multiclient single server Code But i m not succeeded ,please help .
How to implement multithreading in multiclient single server code.( Select System call )
Imran
 
Old April 12th, 2004, 08:51 AM
Registered User
 
Join Date: Apr 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imran,

I don't get u right. Please make urself clear here. What do u mean by multithreading the code??? and what language are u using for socket programming???

Guess there will be some trouble with implementing it in C or C++. Java i think will be good for implementing multithreading.

Hope i helped.

----------------
Hell is where i am...
~Cherub
 
Old October 22nd, 2004, 10:14 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

sys_fork

--
Don't Stand on your head - you'll get footprints in your hair. http://charlieharvey.com
 
Old December 3rd, 2004, 12:08 AM
Authorized User
 
Join Date: Dec 2004
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to colin.horne
Default

What ciderpunx says ;)

(Althought, if you mean what I think you mean, there are plenty of ways to do it, but forking is as good an option as any)

--
Please contact me at:
Colin (dot) Horne (at) gmail (dot) com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Multithreading Help jenngarcia21 General .NET 0 March 9th, 2007 02:14 PM
multithreading in c# furqanms C# 0 November 21st, 2006 10:43 AM
regarding multithreading Mystic C# 1 July 22nd, 2006 12:44 AM
Multithreading and Synclock AgentSmith ASP.NET 1.0 and 1.1 Professional 0 October 19th, 2005 08:26 AM
How to use Multithreading in VB6.0 ramk_1978 Beginning VB 6 3 January 24th, 2005 09:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.