gettingstarted
[Top] [All Lists]

linux console app and server sockets

To: gettingstarted at lists dot realsoftware dot com
Subject: linux console app and server sockets
From: evLSiN <evlsin at gmail dot com>
Date: Sun, 29 Aug 2004 22:15:07 -0400
Delivered-to: gettingstarted at lists dot realsoftware dot com
Hi,

I am trying to build a very basic chat server console app. Not overly
complicated you would think. I have it built and it runs, but as soon
as AddSocket() is called for the fourth time the app crashes and
returns a NilObjectException... I am at a loss as to why it waits for
the fourth connection.... here is a transcript of my debug output:

Stating up
Launching new server...
Listening on port 15432
Adding Socket 0
Adding Socket 1
Adding Socket 2
Adding Socket 3
Oops! Something Broke - 0: 
Exception Message: 
Exception Error Number: 0
An exception of class NilObjectException was not handled.  The
application must shut down.Adding Socket 4
Oops! Something Broke - 0: 
Adding Socket 5
Oops! Something Broke - 0: 
Adding Socket 6
Oops! Something Broke - 0: 
Adding Socket 7
Oops! Something Broke - 0: 
Adding Socket 8
Oops! Something Broke - 0: 
Adding Socket 9
Oops! Something Broke - 0: 
Adding Socket 10
Oops! Something Broke - 0: 
Oops! Something Broke - 0: 
Oops! Something Broke - 0: 

on the lines that say "Oops! Something Broke - 0: " the 0 is the error
number and after the colon(:) was supposed to be the error message...
I have tried this on several flavors of red hat linux and mac os x
with the same result - I am pretty frustrated at this point - Any help
would be greatly appreciated...

Sina
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>