473,910 Members | 6,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sockets problem

So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd)
and everything was fine untill yesterday when the server crashed. So I did
a cold restart and staretd the server back up now it's throwing this stream
of errors right away. DOes anyone have any idea what they mean. I havn't
changed the source at all since it was working (which was for four days).

Unhandled Exception: System.TypeInit ializationExcep tion: The type
initializer fo
r "System.Net.Soc kets.Socket" threw an exception. --->
System.Net.Sock ets.Socket
Exception: An operation on a socket could not be performed because the
system la
cked sufficient buffer space or because a queue was full
at System.Net.Sock ets.Socket.Init ializeSockets()
at System.Net.Sock ets.Socket..cct or()
--- End of inner exception stack trace ---
at System.Net.Sock ets.Socket..cto r(AddressFamily addressFamily,
SocketType so
cketType, ProtocolType protocolType)
at PureIRCD.EndPoi nt..ctor() in C:\Documents and
Settings\Jameso n.WHITERABBIT
\My Documents\Visua l Studio Projects\PureIR CD\connectivity \endpoint.vb:li ne
380
at PureIRCD.PLine. init(Boolean silent) in C:\Documents and
Settings\Jameso n.W
HITERABBIT\My Documents\Visua l Studio
Projects\PureIR CD\memory\globa ls.vb:line 6
62
at PureIRCD.conf.I nitLinks() in C:\Documents and
Settings\Jameso n.WHITERABBIT
\My Documents\Visua l Studio Projects\PureIR CD\memory\conf. vb:line 340
at PureIRCD.IRCd.l oad_irc() in C:\Documents and
Settings\Jameso n.WHITERABBIT\
My Documents\Visua l Studio Projects\PureIR CD\core\ircd.vb :line 98


Nov 20 '05 #1
15 2221
"mrpolitics " <mr********@cin ci.rr.com> schrieb
So I'm working with PureIRCD
(http://sourceforge.net/projects/pure-ircd) and everything was fine
untill yesterday when the server crashed. So I did a cold restart
and staretd the server back up now it's throwing this stream of
errors right away. DOes anyone have any idea what they mean. I
havn't changed the source at all since it was working (which was for
four days).

[...]


Sorry that I ask, but where is the relation to this group?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
Becauase it's written entirely in VB.net (if you coudlnt tell by the error
message) I'm working on using the server here at my campus but I can't seem
to get it back up.

I'm assuming it's a problem with the code.

"Armin Zingler" <az*******@free net.de> wrote in message
news:Oa******** ******@TK2MSFTN GP09.phx.gbl...
"mrpolitics " <mr********@cin ci.rr.com> schrieb
So I'm working with PureIRCD
(http://sourceforge.net/projects/pure-ircd) and everything was fine
untill yesterday when the server crashed. So I did a cold restart
and staretd the server back up now it's throwing this stream of
errors right away. DOes anyone have any idea what they mean. I
havn't changed the source at all since it was working (which was for
four days).

[...]


Sorry that I ask, but where is the relation to this group?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
I think the problem is that it's trying to bind the port...

any info on why binding might cause a server to crash under winxp

"Armin Zingler" <az*******@free net.de> wrote in message
news:Oa******** ******@TK2MSFTN GP09.phx.gbl...
"mrpolitics " <mr********@cin ci.rr.com> schrieb
So I'm working with PureIRCD
(http://sourceforge.net/projects/pure-ircd) and everything was fine
untill yesterday when the server crashed. So I did a cold restart
and staretd the server back up now it's throwing this stream of
errors right away. DOes anyone have any idea what they mean. I
havn't changed the source at all since it was working (which was for
four days).

[...]


Sorry that I ask, but where is the relation to this group?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
It errors here saying An unhandled exception of type
'System.TypeIni tializationExce ption' occurred in system.dll

Additional information: The type initializer for "System.Net.Soc kets.Socket"
threw an exception.:

Public Function init() As Integer

YL = GetYLine(cc)

If YL Is Nothing Then

'no such y-line

Return -1

End If

If Not IsIp(address) Then

Try

address = Net.Dns.Resolve (address).Addre ssList(0).ToStr ing '<------ ERRORS
ON THIS LINE

Catch ex As Exception

Return -1

End Try

End If

End Function
Nov 20 '05 #5
"mrpolitics " <mr********@cin ci.rr.com> schrieb
Becauase it's written entirely in VB.net (if you coudlnt tell by the
error message) I'm working on using the server here at my campus but
I can't seem to get it back up.

I'm assuming it's a problem with the code.

How could a server crash create a problem with the code? You wrote "I havn't
changed the source at all", so how can it be a source/VB.NET problem?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6
I hate to say this but it's obvious. You havn't been programming long have
you?

If the server went down maybe it was a change with XP in which case maybe I
need to modify the code now to handle the new scenario, and possibly the old
one.

"Armin Zingler" <az*******@free net.de> wrote in message
news:##******** ******@TK2MSFTN GP11.phx.gbl...
"mrpolitics " <mr********@cin ci.rr.com> schrieb
Becauase it's written entirely in VB.net (if you coudlnt tell by the
error message) I'm working on using the server here at my campus but
I can't seem to get it back up.

I'm assuming it's a problem with the code.

How could a server crash create a problem with the code? You wrote "I

havn't changed the source at all", so how can it be a source/VB.NET problem?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #7
"mrpolitics " <mr********@cin ci.rr.com> schrieb
I hate to say this but it's obvious. You havn't been programming
long have you?

No, but I don't have a server.

SCNR
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #8
So really you shoudl have just said "I don't know squat about sockets in
dotnet"
insted of just acting like a child?

"Armin Zingler" <az*******@free net.de> wrote in message
news:u0******** ******@TK2MSFTN GP11.phx.gbl...
"mrpolitics " <mr********@cin ci.rr.com> schrieb
I hate to say this but it's obvious. You havn't been programming
long have you?

No, but I don't have a server.

SCNR
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #9
"mrpolitics " <mr********@cin ci.rr.com> schrieb
So really you shoudl have just said "I don't know squat about sockets
in dotnet"
insted of just acting like a child?


What do you expect as an answer to your provocations?

People reading this group *might* be able to help you, but this is not the
criteria to post it here. The fact that you are *using* VB.NET is *not*
decisive for choosing this group. I also don't post my programming problems
to the WinXP group just because I'm *using* it and just because there
*might* be people who *could* help me there.

Maybe you should read the subject: "Sockets problem", right? VB.NET does not
know sockets. Sockets are a part of the .Net Framework. There are separate
groups for dealing with questions and problems about the Framework. This
means that the problem is langauge independent. It might also apply to C#
and other managed languages because they base upon the Framework.

I also did not ask for source code. Why? You said, you did not change the
source code. The only thing that happened was that your server crashed. To
me it is obvious that you should look for the problem somewhere else, not in
your source code because you did not change it.

That's why I still think: This is not a VB.NET language problem. Please turn
to a different group.

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
15634
by: Dr.Kadzija | last post by:
i have a client-server application. client and server should communicate via tcp sockets. ok, so i use Sockets, PrintWriter and BufferedReader. the problem is that: both client and server will send each other multiple lines (using PrintWriter.println()) at a time, and i don't know how many lines each of them will send. this wouldn't be a problem if a sender could end his turn with a pre-defined character or string (e.g. "\n", "bye" or...
2
3902
by: Tero Saarni | last post by:
Hi, I have several threads communicating with each other using events stored in Queues. Threads block on Queue.get() until somebody publishes an event in thread's event queue. I need to add support for sockets to the system. Thread needs to unblock when: - there is socket ready to be read, or
0
1456
by: Gonçalo Rodrigues | last post by:
Hi, I have a problem with threads and sockets. I'll try to describe the problem in words with pseudo-code. I've been working on a few classes to make it easier to work with threads. This framework, let us call it that, consists in two parts. The first part is just a basic thread class deriving from threading.Thread with a few extra functionality that makes it easier for a thread to spawn a new thread and "father it". Each of its
1
3806
by: Dmitry Akselrod | last post by:
Hello everyone, I have a vb.net application that wraps the TCPListener object in a class. The server connects to the local interface and establishes itself on port 9900. It then polls for pending connections every 500ms. I also have a vb6 application that uses the WinSock control at the other end of the communication tunel. I have to work with vb6 here because it uses less memory than .NET.
0
1853
by: mrpolitics | last post by:
So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd) and everything was fine untill yesterday when the server crashed. So I did a cold restart and staretd the server back up now it's throwing this stream of errors right away. Does anyone have any idea what they mean. I havn't changed the source at all since it was working (which was for four days). It errors here saying An unhandled exception of type...
14
1883
by: jack | last post by:
At this link I have two c# projects, one is a client, the other is a server. Just point the ip address of the client at the server http://www.slip-angle.com/hosted/bug/ The server does little more than the examples in the c# documentation for how to set up an asynchronous server. It just accepts connections, reads data into a buffer continously, doing nothing with it.
3
11605
by: J C | last post by:
Hi, I'm using UDPClient to make a simple DNS server. I notice that intermittently and unpredictibly I get: Unhandled Exception: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.ReceiveFrom(Byte buffer, Int32 offset, Int32 s
5
2257
by: Dan Ritchie | last post by:
I've got a client/server app that I used to send large amounts of data via UDP to the client. We use it in various scenarios, one of which includes rendering a media file on the client as it is transferred via the underlying UDP transport. In this scenario it is very important to keep CPU usage as low as possible. Both the client and server were originally written in C++, but I've re-written the client in C#, partly to simplify it, but...
0
1459
by: rossabri | last post by:
This topic has been addressed in limited detail in other threads: "sockets don't play nice with new style classes :(" May 14 2005. http://groups.google.com/group/comp.lang.python/browse_thread/thread/76d27388b0d286fa/c9849013e37c995b "Subclassing socket" Dec 20 2005 - Jan 14 2006. http://groups.google.com/group/comp.lang.python/browse_thread/thread/391728cd442339c8/c0581b9ee5e7ceaf Briefly, the socket module ("socket.py") provides a...
0
9879
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11055
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10541
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9727
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6142
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4337
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3360
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.