Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2002, 02:08 AM
themax
Fire Beetle
 
Join Date: Jan 2002
Posts: 7
Default anyone running eq server with inetd ?

as title , I'm interested with this
Reply With Quote
  #2  
Old 03-08-2002, 03:02 AM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default I don't think that's possible (right now)

I don't pretend to know everything about (x)inetd, but as I understand it, it listens on the given port for a connection. When it receives the connection, it sets it up and spawns the necessary program to handle it. So for example, if you're running a POP server, when a client connects to port 110, inetd (at least on my system) runs /usr/sbin/ipop3d.

The way the EMU works right now, it does what inetd does. It listens for the connections and when it receives one, it spawns a thread to handle it.

The problems with using inetd:
1) It wouldn't be cross platform. Lots of people use the EMU on Windows and don't AFAIK have any way to get something like inetd (maybe there's a build for win32, I don't know).
2) The connections to the EMU aren't independent -- they all interact. Inetd is great for something like POP because each user connects independently and doesn't care who else is also connecting to read email. But in Everquest, you care quite a bit about what other people are doing. Right now, the EMU can share data relatively easily because it uses pthreads. If it was changed to use inetd, each handler would be a separate process and would not be able to (easily) share in memory data. The processes would have to nmap a file or put all the data in the DB (which would be a big slow down).

But I haven't delved too deep into the source, so what do I know
Reply With Quote
Reply


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

Forum Jump

   

All times are GMT -4. The time now is 08:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3