473,545 Members | 2,639 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 2170
"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
15603
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...
2
3883
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
1435
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...
1
3767
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...
0
1796
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...
14
1841
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...
3
11571
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
2238
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...
0
1432
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....
0
7490
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7425
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...
0
7935
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...
1
7449
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...
0
7780
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...
0
6009
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...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.